python:安装python3.6

2019-11-22 09:38:08 浏览数 (1)

先配置下代理:

代码语言: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

0 人点赞