CentOS 8 上安装 python3

1)下载源码

2)解压

3) 配置 

./configure --prefix=/usr/local/python3Dir --with-ssl

4)编译 & 安装

5)缺少 zlib ,就用 yum 安装

 

参考文章:

Centos7.6下安装Python3.7

https://developer.aliyun.com/article/693823

 

posted @ 2020-07-22 16:59  E1st  阅读(152)  评论(0编辑  收藏  举报