问题:
import ssl 时报错:
ImportError: DLL load failed while importing _ssl: 找不到指定的模块
解决:
原因是DLL错误,因此Anaconda安装文件夹下的Library文件夹中的以下2个文件是
当我将其复制到DLL文件夹时,该错误已成功解决
将Anaconda\Library\bin目录下的
Libssl-1_1-x64.dll
Libcrypto-1_1-x64.dll
两个dill文件复制到Anaconda\DLLs目录下即可解决
参考网站:
https://www.codenong.com/a6454adf140263f2df8a/