使用conda install 安装包提示ssl错误,需要将两个DLL移动一下。

(psgAudio) PS H:\PSG-Audio> conda install surfboard
Collecting package metadata (current_repodata.json): failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.

Exception: HTTPSConnectionPool(host='mirrors.ustc.edu.cn', port=443): Max retries exceeded with url: /anaconda/cloud/menpo/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

C:\ProgramData\Anaconda3\Library\bin\libssl-1_1-x64.dll
C:\ProgramData\Anaconda3\Library\bin\libcrypto-1_1-x64.dll

复制粘贴到

C:\ProgramData\Anaconda3\DLLs\libssl-1_1-x64.dll
C:\ProgramData\Anaconda3\DLLs\libcrypto-1_1-x64.dll

即可解决报错

Last modification:December 1, 2022
如果觉得我的文章对你有用,请随意赞赏