[英]“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.我正在使用 Ubuntu,我刚刚将我的 python3 从 3.8 更新到 3.9,但是当我在终端上运行 Python3 时,它会打开 3.8 版本而不是 3.9。
How can I change this?我怎样才能改变这个? thanks a lot.
多谢。
python3 --version python3 --版本
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. python3.8
是 Ubuntu 上的其他程序使用的发行版,它期望对python3-<package name>
的依赖项以python3
可以导入它们的方式安装。 If you change the linkage, any number of (possible important) packages might break.如果您更改链接,任何数量(可能很重要)的包都可能会损坏。 Just use
python3.9
explicit.只需使用
python3.9
显式。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.