转Windows环境Anaconda遇“Can't connect to HTTPS URL because the SSL module is not available”的解决方法

Conda Github issues #8273

Environment Information

conda version : 4.5.12

Resolution

I did a trace with Process Monitor.
D:\Anaconda3\DLLs_ssl.pyd search for the OpenSSL DLLs but in the wrong/current location!
As they are not found the search goes to C:\Windows\System32 where we have the same DLLs, installed by an other application, but with a different version. :-(

The DLLs delivered by Anaconda3 are located here:
D:\Anaconda3\Library\bin

My workaround:
I have copied the following files

libcrypto-1_1-x64.*
libssl-1_1-x64.*

from D:\Anaconda3\Library\bin to D:\Anaconda3\DLLs.


笔记

假设安装目录为D:\Anaconda3,那么将D:\Anaconda3\Library\bin目录下的

libcrypto-1_1-x64.*
libssl-1_1-x64.*

这些文件拷贝至D:\Anaconda3\DLLs目录即可。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。