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

时间:2019-08-05 19:24:57   收藏:0   阅读:1097

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

原文:https://www.cnblogs.com/nmsghgnv/p/11304947.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!