CentOS 7 yum 安装 Python3.6

安装EPEL和IUS软件源

安装

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

安装Python3.6

# yum -y install python36u

创建python3软链接

ln -s /bin/python3.6 /bin/python3

安装pip3

# yum -y install python36u-pip

创建pip3软链接

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