CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repod

21 篇文章 0 订阅
13 篇文章 0 订阅

当试图创建一个新的conda环境时,出现错误,显然是一个网络连接的问题

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 0x7f7123924fd0>: Failed to establish a new connection: [Errno 101] Network is unreachable',))",),)

解决:

过一会儿再试又可以了.....

可能是暂时的网络故障??

The following NEW packages will be INSTALLED:

    _libgcc_mutex:    0.1-main               
    ca-certificates:  2020.10.14-0           
    certifi:          2020.6.20-pyhd3eb1b0_3 
    ld_impl_linux-64: 2.33.1-h53a641e_7      
    libedit:          3.1.20191231-h14c3975_1
    libffi:           3.3-he6710b0_2         
    libgcc-ng:        9.1.0-hdf63c60_0       
    libstdcxx-ng:     9.1.0-hdf63c60_0       
    ncurses:          6.2-he6710b0_1         
    openssl:          1.1.1h-h7b6447c_0      
    pip:              20.2.4-py36h06a4308_0  
    python:           3.6.12-hcff3b4d_2      
    readline:         8.0-h7b6447c_0         
    setuptools:       50.3.0-py36h06a4308_1  
    sqlite:           3.33.0-h62c20be_0      
    tk:               8.6.10-hbc83047_0      
    wheel:            0.35.1-py_0            
    xz:               5.2.5-h7b6447c_0       
    zlib:             1.2.11-h7b6447c_3  

成功后会出现

#
# To activate this environment, use
#
#     $ conda activate torchdepth
#
# To deactivate an active environment, use
#
#     $ conda deactivate

还有一种可能原因是,这个环境建立之前,我先删除了一个同名环境,然后立刻建立这个新环境

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值