天天看點

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.co

版權聲明:本文為部落客原創文章,遵循 CC 4.0 BY-SA 版權協定,轉載請附上原文出處連結和本聲明。

本文連結:https://blog.csdn.net/qq_35443700/article/details/107951536

轉載連結

首先需要找到.condarc檔案

如果你不知道在哪的話可以這樣

win+R

輸入%HOMEPATH%

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.co
然後找到
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.co
把裡面的内容替換成下面的

channels:
  - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
  - http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
  - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
show_channel_urls: true
ssl_verify: false

           

繼續閱讀