当前位置: 移动技术网 > IT编程>脚本编程>Python > Caused by SSLError("Can’t connect to HTTPS URL because the SSL module is not available)

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

2019年08月05日  | 移动技术网IT编程  | 我要评论

恶汉全文阅读,娘子关天气,男人帮杂志

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解决;

 

参考文章: 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网