卸载python语句:
sudo apt-get remove python
ubuntu下安装python3:
sudo apt-get install python3
升级命令,以python3.6为例子:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.6
卸载python语句:
sudo apt-get remove python
ubuntu下安装python3:
sudo apt-get install python3
升级命令,以python3.6为例子:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.6
本文标题:ubuntu下卸载python2和升级python3.5
本文链接:https://www.haomeiwen.com/subject/ybdzvxtx.html
网友评论