-
yum安装python3
yum install epel-release -y
yum install https://centos7.iuscommunity.org/ius-release.rpm -y
yum install python36 u -y
ln -s /bin/python3.6 /bin/python3- 安装pip3
首先找到pip3的位置(在python3.6的安装包内)
cd /usr/local/bin
ls (这里可以看见pip3.6的文件了)
ln -s /usr/local/bin/pip3.6 /bin/pip3 #创建pip3命令的连接符
- 安装pip3