升级python的ssl
https://blog.csdn.net/qq_40244755/article/details/116742677
https://docs.python.org/zh-cn/3.10/using/configure.html
先安装 openssl
wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz
tar -zxvf openssl-1.1.1k.tar.gz
cd openssl-1.1.1k
./config --prefix=/usr/local/openssl-1.1.1k
make
make install
rm /usr/bin/openssl
ln -s /usr/local/openssl-1.1.1k/bin/openssl /usr/bin/openssl
echo "/usr/local/openssl-1.1.1k/lib/" >> /etc/ld.so.conf
ldconfig -v
再重新编译 安装 python
./configure prefix=/usr/local/python39 --enable-optimizations --with-openssl=/usr/local/openssl-1.1.1k --with-ssl-default-suites=openssl