conda:SSLError(SSLError(SSLError(“握手失败:SysCallError(104,'ECONNRESET')”,),),)conda

时间:2019-03-13 09:04:48

标签: python conda

我想使用miniconda3安装软件包,但会弹出该错误:

 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.

SSLError(SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')",),),)

顺便说一句,miniconda2运行良好,只有miniconda3有问题。

PS。我还尝试使用wget --no-check-certificate下载文件并也收到错误消息:

wget https://repo.anaconda.com/pkgs/main/linux-64/repodata.json.bz2
--2019-03-14 02:03:44--  https://repo.anaconda.com/pkgs/main/linux-64/repodata.json.bz2
Resolving repo.anaconda.com (repo.anaconda.com)... 104.16.130.3, 
104.16.131.3, 2606:4700::6810:8303, ...
Connecting to repo.anaconda.com (repo.anaconda.com)|104.16.130.3|:443... connected.
Unable to establish SSL connection.

系统为CentOS,我已经使用sudo yum update来更新sys文件和库。

0 个答案:

没有答案