1.添加python3.6安裝包,而且安裝python
sudo apt-get install software-properties-common
2.下載python3.6ip
sudo add-apt-repository ppa:jonathonf/python-3.6 sudo apt-get update sudo apt-get install python3.6
2.修改系統默認python版本爲3.6,並更新get
cd /user/bin rm python ln -s python3.6m python
python pip install --upgrade pip