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

  • 2022-07-21 18:49:02

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

 

参考文章: 

猜你喜欢