CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch
Posted duanzq
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch相关的知识,希望对你有一定的参考价值。
pytorch和torchvision下载失败,主要是anaconda延迟过高导致
增加国内镜像源来安装
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes
离线方式:
通过访问该连接直接访问下载文件
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
使用conda install --offline 环境变量 文件路径
以上是关于CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch的主要内容,如果未能解决你的问题,请参考以下文章
问题:CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaco
CondaHTTPError:URL <https://repo.continuum.io/pk gs/r/win-64/repodata.json.bz2> 的 HTTP 000 连接失
conda安装包的时候提示「CondaHTTPError: HTTP 000 CONNECTION FAILED for url....」
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/linux-64/cur
解决方法集合CondaHTTPError:HTTP 000 CONNECTION FAILED for url<https://mirrors.tuna.tsinghua.edu.cn/anaco