Anaconda报错:ImportError: DLL load failed while importing _ssl: 找不到指定的程序。

Win10系统安装了Anaconda3-2022.05-Windows-x86_64.exe版本,并把D:\Anaconda3;D:\Anaconda3\Scripts;D:\Anaconda3\Library\bin;D:\Anaconda3\Library\mingw-w64\bin加入到环境变量中后运行jupyter notebook命令,仍报了:ImportError: DLL load failed while importing _ssl: 找不到指定的程序。这样的错误。

一番折腾之后,总算在Stack Overflow上找到解决方法:

从目录 anaconda3\Library\bin 拷贝下面的文件到 anaconda3/DLLs中。

  • libcrypto-1_1-x64.dll
  • libssl-1_1-x64.dll

再次运行jupyter notebook命令,成功打开网页。