我有一个与另一台机器一起工作的项目,它有python3.5到python3.8。
我有了一台新电脑,所以当我安装python时,它的版本是3.8
我的项目正在运行python3.6。
我的问题是,如何更新项目解释器以支持python 3.8,或者如何将我的python版本更改为3.6
尝试安装python 3.6时:
$ sudo apt install python3.6Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3.6-2to3' for regex 'python3.6'
Note, selecting 'libpython3.6-stdlib' for regex 'python3.6'
0 upgraded, 0 newly installed, 0 to remove and 207 not upgraded.$ python3.6
Command 'python3.6' not found, did you mean:
....发布于 2020-07-14 10:23:15
发布于 2020-03-12 16:38:44
可能是因为您的发行版没有python3.6。如果您安装了智能,请运行
aptitude search python3
还可以通过以下操作更新您的apt:
sudo apt-get update
sudo apt-get install python3.6 # If it doesn't work, try sudo apt-get install python36https://stackoverflow.com/questions/60658143
复制相似问题