anaconda channels 更换

conda config --show channels 可以查看 当前配置状态

conda config --show-sources  查看配置文件位置

C:\Users\PythonServer-01>conda config --show channels
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults

C:\Users\PythonServer-01>conda config --show-sources
==> C:\Users\PythonServer-01\.condarc <==
ssl_verify: True
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - defaults
show_channel_urls: True
report_errors: True

原来使用的清华源 现在不能用了

删除原来的加上 - https://repo.anaconda.com/pkgs/main/

ssl_verify: true
channels:
  - https://repo.anaconda.com/pkgs/main/
  - defaults
show_channel_urls: true
report_errors: true
发布了73 篇原创文章 · 获赞 41 · 访问量 15万+

猜你喜欢

转载自blog.csdn.net/weixin_37989267/article/details/90373993
今日推荐