yum install python3.6、pip in centos
安装 yum 源
# Centos 6
yum install https://centos6.iuscommunity.org/ius-release.rpm -y
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
# Centos 7
yum install https://centos7.iuscommunity.org/ius-release.rpm -y
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum 安装 python3.6
yum install python36u -y
ln -s /usr/bin/python3.6 /usr/bin/python3
python3 -V
安装 pip 和 setuptools
curl -O https://bootstrap.pypa.io/get-pip.py
sudo /usr/bin/python3 get-pip.py
pip -V
打赏: 微信
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。