CondaHTTPError: HTTP 000 CONNECTION FAILED 解决方案

今天Window 下安装 anaconda集成环境 安装完想更新一下所有包 结果报错如下:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url 
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.

'https://repo.anaconda.com/pkgs/main/win-64'

google一下 解决方案:

The DLLs delivered by Anaconda3 are located here:
D:\Anaconda3\Library\bin

My workaround:
I have copied the following files

libcrypto-1_1-x64.*
libssl-1_1-x64.*
from D:\Anaconda3\Library\bin to D:\Anaconda3\DLLs.

And it works as a charm!

将D:\Anaconda3\Library\bin目录下libcrypto-1_1-x64.所有后辍文件和libssl-1_1-x64.后有后辍文件(其实一共就四个文件) 复制到D:\Anaconda3\DLL目录下即可

截图如下ok

C:\Users\Administrator>conda upgrade --all
Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url 
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.

'https://repo.anaconda.com/pkgs/main/win-64'



C:\Users\Administrator>conda upgrade --all
Collecting package metadata (current_repodata.json): done
Solving environment: done

# All requested packages already installed. 更新完成


C:\Users\Administrator>

你可能感兴趣的:(CondaHTTPError: HTTP 000 CONNECTION FAILED 解决方案)