Centos7 yum安装Python3.6环境

配置好Python3.6和pip3
安装EPEL和IUS软件源

 

1
2
yum install epel-release -y
yum install https://centos7.iuscommunity.org/ius-release.rpm -y

安装Python3.6

 

1
yum install python36u -y

创建python3连接符

 

1
ln -s /bin/3.6 /bin/3

安装pip3

 

1
yum install python36u-pip -y

创建pip3链接符

 

1
ln -s //pip3.6 //pip3

 

未经允许不得转载:国外主机测评 » Centos7 yum安装Python3.6环境