Can’t connect to HTTPS URL because the SSL module is not available的解决方法
问题:
在使用pip 或者 爬虫爬取HTTPs时
有时SSL报错
查看最根源的错误是"Can’t connect to HTTPS URL because the SSL module is not available."
原因是Anaconda自带的SSL 和系统的SSL冲突了
解决方案1:
使用Anaconda Prompt 运行pip 或者.py文件
解决方案2:
将D:\Anaconda\pkgs\openssl-1.1.1b-he774522_1\Library\bin设置为系统变量中的path,
并将其上移至最上方