1.安装python3.6
sudo apt-get install python3.6
2.修改软连接
sudo ln -s /usr/local/bin/python3.6 /usr/bin/python3
3.安装pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
1.安装python3.6
sudo apt-get install python3.6
2.修改软连接
sudo ln -s /usr/local/bin/python3.6 /usr/bin/python3
3.安装pip
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
转载于:https://www.cnblogs.com/pythonClub/p/10211119.html