使用pip下载包时提示:
Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available)
然后重新安装了openssl,再次编译Python,再次安装包,还是同样的结果,最后发现在python编译完成后,提示:
Failed to build these modules: _ssl
然后安装了想起了devel包,于是
sudo yum install openssl-devel
再次编译Python,发现没有这个提示了,再去下载python包,成功。