centos7 安装python3.6

2019-05-25  本文已影响0人  082e63dc752b

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

yum install epel-release -y
yum install https://centos7.iuscommunity.org/ius-release.rpm -y
安装Python3.6

yum install python36u -y
yum install python36u-devel -y
创建python3连接符

ln -s /bin/python3.6 /bin/python3
安装pip3

yum install python36u-pip -y
创建pip3链接符

ln -s /bin/pip3.6 /bin/pip3

上一篇下一篇

猜你喜欢

热点阅读