简略记录步骤,容后补充:
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
sudo apt install spyder3
删除原有的Python链接文件:
rm /usr/bin/python
建立指向Python3.6的链接:
ln -s /usr/bin/python3.6/bin/python3.6 /usr/bin/python
查询Python版本
python –version
如果显示是python3.6.1则说明安装成功!