1 # 安装 2 sudo yum install centos-release-scl 3 4 sudo yum install rh-python36 5 #开启 6 scl enable rh-python36 bash
修改YUM安装
vi /usr/bin/yum
#添加上2.7 Done
1 # 安装 2 sudo yum install centos-release-scl 3 4 sudo yum install rh-python36 5 #开启 6 scl enable rh-python36 bash
修改YUM安装
vi /usr/bin/yum
#添加上2.7 Done