Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • okay I see, so the question should be how to remove python 2 Commented May 19, 2016 at 0:13
  • You can remove the "python" package using apt-get remove python. You can check which file belongs to which package using dpkg -S .. e.g dpkg -S `which python` Commented May 19, 2016 at 0:35
  • I just read doing so is not a good idea, because a lot of things on my system are using python2 for functionality. I'm trying to make python3 the default version for Wing IDE Commented May 19, 2016 at 0:37
  • Or #!/usr/bin/env python3 Commented Sep 24, 2020 at 16:11