Anaconda安装库时报错:CondaHTTPError: HTTP 000 CONNECTION FAILED for url

Anaconda安装库时报错:CondaHTTPError: HTTP 000 CONNECTION FAILED for url

当在Linux下面的Anaconda的命令行中运行conda install xxx时,出现以下错误:

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/linux-64'

把全网的方法都试一遍,主要是说建议更改国内镜像源或者把https更改为http,都没用,暴风雨哭泣…
然而…万万没有想到的是…
实验室的服务器没有联网!!没有联网!!没有联网 !!
白白瞎折腾了一天,Emmmmm,建议出现此情况的同学,排查一下是否是网络的原因。
可以用命令 ping www.baidu.com
看看是否能ping通百度。

你可能感兴趣的:(anaconda,python,linux)