1)下载源码
2)解压
3) 配置
./configure --prefix=/usr/local/python3Dir --with-ssl
4)编译 & 安装
5)缺少 zlib ,就用 yum 安装
参考文章:
Centos7.6下安装Python3.7
https://developer.aliyun.com/article/693823
1)下载源码
2)解压
3) 配置
./configure --prefix=/usr/local/python3Dir --with-ssl
4)编译 & 安装
5)缺少 zlib ,就用 yum 安装
参考文章:
Centos7.6下安装Python3.7
https://developer.aliyun.com/article/693823