Ubuntu 16.04 安裝 python3.6 環境並設定為預設
阿新 • • 發佈:2019-01-08
1.新增python3.6安裝包,並且安裝
sudo apt-get install software-properties-common
2.下載python3.6
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
3.修改系統預設python版本為3.6,並更新
cd /user/bin
rm python
ln -s python3.6m python
4.升級pip版本
python pip install --upgrade pip