赞
踩
Collecting package metadata (repodata.json): failed
UnavailableInvalidChannel: The channel is not accessible or is invalid.
channel name: anaconda/pkgs/main
channel url: http://mirrors.aliyun.com/anaconda/pkgs/main
error code: 404
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.
更换Anaconda镜像源:打开.condarc
文件,替换其他源:
channels:
- defaults
show_channel_urls: true
default_channels:
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/r
- https://mirrors.bfsu.edu.cn/anaconda/pkgs/msys2
custom_channels:
conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud
pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud
更多源参考:https://blog.csdn.net/weixin_43667077/article/details/106521015
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。