CondaHTTPError:HTTP URLに失敗しました000 CONNECTION <https://conda.anaconda.org/pytorch

pytorchとtorchvisionダウンロードは主に過度の遅延のアナコンダによって引き起こされ、失敗しました

インストールするには、国内のミラー元を増やします

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 环境变量 文件路径

おすすめ

転載: www.cnblogs.com/duanzq/p/12453084.html