简体   繁体   中英

“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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM