Ahmadreza Hadi
Ahmadreza Hadi

Reputation: 35

"python3" is executing "python3.8" instead of "python3.9"

I'm using Ubuntu and I just updated my python3 from 3.8 to 3.9 but when I'm running Python3 on terminal it opens the 3.8 version and not the 3.9.
How can I change this? thanks a lot.
python3 --version

Upvotes: 0

Views: 1908

Answers (1)

MegaIng
MegaIng

Reputation: 7886

You don't. python3.8 is a distribution used by other programs on Ubuntu, which expects that dependencies on python3-<package name> install in a way that python3 can import them. If you change the linkage, any number of (possible important) packages might break. Just use python3.9 explicit.

Upvotes: 1

Related Questions