首页 > 解决方案 > 无法在 Windows 上将 Conda 与 Anaconda 2018.2 一起使用

问题描述

我刚刚在 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."))'))

标签: pythonanacondaconda

解决方案


对我有用的是将这些文件从 Anaconda3/Library/bin 复制到 Anaconda3/DLLs :

libcrypto-1_1-x64.dll

libssl-1_1-x64.dll


推荐阅读