关于pycharm使用anacoda创建新项目出现错误:CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://rep

问题原因:

网络连接问题,网络超时,默认访问源访问速度太慢,导致的超时

解决方法:

更换镜像源为清华镜像源,并且删除默认镜像源。

  1. 首先需要找到.condarc文件

win+R

输入%HOMEPATH%

  1. 把里面的内容替换成:

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

如果channels 下面有 “- default” 的话需要删除它

猜你喜欢

转载自blog.csdn.net/weixin_65143132/article/details/129642353
今日推荐