Centos 7安装python3(PY3.6)

1 # 安装2 sudo yum install centos-release-scl3 4 sudo yum install rh-python365 #开启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

 

本文标题为:Centos 7安装python3(PY3.6)

基础教程推荐