先配置下代理:
cat /etc/apt/apt.conf
Acquire::http::Proxy "http://172.16.0.224:1080";
export https_proxy=http://172.16.0.224:1080
export http_proxy=http://172.16.0.224:1080
安装python3.6
# apt-get install software-properties-common
add-apt-repository ppa:jonathonf/python-3.6
apt-get update
apt-get install python3.6
安装pip
wget https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py