终端命令升级Python至Python3.7
1、增加ppa仓库sudo add-apt-repository ppa:deadsnakes/ppa2、升级apt索引
sudo apt-get update sudo apt-get upgrade sudo apt-get autoremove3、更新python3.7
sudo apt-get install python3.74、更换系统默认的软链命令Python3到新的Python3.7
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 25、切换Python3的指向
sudo update-alternatives --config python3



