Anaconda无法更新

在安装完Anaconda,更新包时

C:\Users\Administrator>conda upgrade --all
WARNING: The conda.compat module is deprecated and will be removed in a future r
elease.
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk
gs/free/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/free/win-64/repodata.json.bz2 (Caused by
 SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."
))'))

需要安装 openSSL

下载OpenSSL 的 Windows 安装包   https://slproweb.com/products/Win32OpenSSL.html

Win64 OpenSSL v1.1.1b

Anaconda无法更新

安装之后就可以更新了

conda upgrade --all
Anaconda无法更新

上一篇:Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate


下一篇:解决 Anaconda 3.7更新出现CondaHTTPError与SSLError