1、下载 python
https://www.python.org/downloads/source/
2、安装准备
1)rpm -qa|grep openssl
yum install openssl-devel -y
2)yum install libffi-devel -y
3)安装libz
3、安装
tar -zxvf Python-3.8.1.tgz
cd Python-3.8.1
./configure --with-ssl
make && make install
4、pip3 install xxx