Can‘t connect to HTTPS URL because the SSL module is not available

windows环境下,

在用requests的get请求时遇到SSL不可用的问题,网上试了很多办法都不行,最后参照以下办法解决:

Can't connect to HTTPS URL because the SSL module is not available · Issue #8273 · conda/conda · GitHub

 

将上面两个的全部同名文件从D:\Anaconda3\Library\bin 复制到 D:\Anaconda3\DLLs下,之后就可以正常访问了。

希望帮到相同遭遇的同学。

你可能感兴趣的:(python,爬虫,python,ssl,windows)