Ubuntu将python3.5升级python3.6

安装python3.6

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6

删除python3.5的pip

pip -V
apt-get remove python3-pip
apt-get autoremove

安装python3.6版本的pip

apt-get install python3-pip
python3.6 -m pip install --upgrade pip

查看

pip -V

你可能感兴趣的:(Ubuntu将python3.5升级python3.6)