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

安装之后就可以更新了

conda upgrade --all

posted @ 2019-05-24 09:42  慕尘  阅读(1633)  评论(0编辑  收藏  举报