当我尝试安装 Python 3.8 终端时说它已经完成,但是当我运行它时python --version
它说 Python 3.7。
(base) user@admin:~$ sudo apt-get install python3.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.8 is already the newest version (3.8.2-1ubuntu1.2).
The following packages were automatically installed and are no longer required:
libllvm9 libllvm9:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
(base) user@admin:~$ python --version
Python 3.7.6