问题描述:
今天在使用conda创建新的虚拟环境的时候出现“CondaHTTPError: HTTP 000 CONNECTION FAILED”的错误,具体错误如下:
gzy@gzy-ThinkPad-X1-Extreme:~$ conda create -n gymlab python=3.5
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/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.
ConnectionError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f500f734f28>: Failed to establish a new co