Python3.6
yum install -y python36 python36-pip python36-devel
Python3.7
1.下载源码包:https://www.python.org/ftp/python/3.9.18/Python-3.9.18.tgz
- 安装编译依赖
- 编译安装
yum -y install make gcc zlib-devel gcc-c++ openssl-devel
yum install -y python36 python36-pip python36-devel
1.下载源码包:https://www.python.org/ftp/python/3.9.18/Python-3.9.18.tgz
yum -y install make gcc zlib-devel gcc-c++ openssl-devel