先配置下代理:
代码语言:javascript复制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
代码语言:javascript复制# apt-get install software-properties-common
add-apt-repository ppa:jonathonf/python-3.6
apt-get update
apt-get install python3.6
安装pip
代码语言:javascript复制wget https://bootstrap.pypa.io/get-pip.py
python3.6 get-pip.py