我使用以下方法更新了我的系统:
sudo apt-get update && sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)
然后运行以下命令进行安装python3.9:
sudo apt-get install python3.9
Run Code Online (Sandbox Code Playgroud)
产生输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.9 is already the newest version (3.9.5-3~20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)
但是,当我运行时,python3 -V它仍然告诉我我在 3.8.5 上。我怎样才能解决这个问题?
python ×1