centos下我们不光可以编译安装python3,还可以在yum下进行安装python3和pip3,下面是步骤:
安装EPEL和IUS软件源
1 2 |
yum install epel-release -y yum install https://centos7.iuscommunity.org/ius-release.rpm -y |
安装Python3.6
1 2 |
yum install python36u -y yum install python36u-devel -y |
创建python3连接符
1 |
ln -s /bin/python3.6 /bin/python3 |
安装pip3
1 |
yum install python36u-pip -y |
创建pip3链接符
1 |
ln -s /bin/pip3.6 /bin/pip3 |
一把梭哈:
1 2 3 4 5 6 7 8 |
yum update -y yum install epel-release -y yum install https://centos7.iuscommunity.org/ius-release.rpm -y yum install python36u -y yum install python36u-devel -y ln -s /bin/python3.6 /bin/python3 yum install python36u-pip -y ln -s /bin/pip3.6 /bin/pip3 |
我想卡
厉害了
牛逼
看一下怎么解决
123卧槽
half喝咖啡
求解求解
能领吗