我刚刚在Windows 10上安装了新的Anaconda 2018.2。这个anaconda版本使用python v3.7。运行conda更新conda update conda时,出现以下错误:;
Collecting package metadata: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/repodata.json.bz2
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
SSLError(MaxRetryError(‘HTTPSConnectionPool(host=‘repo.anaconda.com’, port=443): Max retries exceeded with url: /pkgs/main/win-64/repodata.json.bz2 (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))’))
最佳答案
我的工作是将这些文件从Anaconda3/Library/bin复制到Anaconda3/DLLs:
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll