美文网首页
CondaHTTPError: HTTP 000 CONNECT

CondaHTTPError: HTTP 000 CONNECT

作者: July_EF | 来源:发表于2020-08-20 10:04 被阅读0次

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

    CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk
    gs/main/win-64/current_repodata.json>
    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 <https://repo.anaconda.com/pk
    gs/main/win-64/current_repodata.json>
    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 CONNECT

          本文链接:https://www.haomeiwen.com/subject/mioirktx.html