在Ubuntu 16.04 安裝python3.6 環境並設置為默認
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
2.修改系統默認python版本為3.6,並更新
cd /user/bin
rm python
ln -s python3.6m python
python pip install --upgrade pip