1. 程式人生 > >pip cannot confirm SSL certificate: SSL module is not available

pip cannot confirm SSL certificate: SSL module is not available

pac https available 解決 conf centos6 failed -s pip

centos6.8編譯安裝python2.7之後,使用pip報錯:pip cannot confirm SSL certificate: SSL module is not available

解決方法:

安裝openssl-devel 後重新編譯安裝python

ref:

https://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi

https://stackoverflow.com/questions/44290926/pip-cannot-confirm-ssl-certificate-ssl-module-is-not-available

https://stackoverflow.com/questions/41328451/ssl-module-in-python-is-not-available-when-installing-package-with-pip3

pip cannot confirm SSL certificate: SSL module is not available