Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)


window7系統;

今天剛安裝的anaconda(開源的Python包管理器),把原來的python3和python2都給卸載了,結果運行爬蟲程序的時候報錯;

Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)

 原因是anaconda沒有安裝好,環境變量沒有配置成功,需要添加三條環境變量;

E:\anaconda;
E:\anaconda\Scripts;
E:\anaconda\Library\bin

重啟pycharm解決;

 

參考文章: https://blog.csdn.net/submarineas/article/details/91142067


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM