top | item 25892432

(no title)

ausjke | 5 years ago

yet on my newest and best ubuntu20.04 when you type 'python' you are still running python2, which I don't use, will we ever be possible to use python as python3 by default,it's annoying.

let python be python3, and python2 for python2 instead

discuss

order

Too|5 years ago

Clean Ubuntu 20 install does not do this. It is because you apt installed python-is-python2. Maybe some other package included it as dependency.

btw there is also a python-is-python3 package.

I would advice you to not use either of them, use virtualenv, pyenv or poetry instead.