https://mirrors.bfsu.edu.cn/help/anaconda/
Windows用户
conda config --set show_channel_urls yes创建名为 .condarc 的文件
修改用户目录下的 .condarc文件为:
Linux用户
sudo gedit ~/.condarc
channels:- defaultsshow_channel_urls: truedefault_channels:- https://mirrors.bfsu.edu.cn/anaconda/pkgs/main- https://mirrors.bfsu.edu.cn/anaconda/pkgs/r- https://mirrors.bfsu.edu.cn/anaconda/pkgs/msys2custom_channels:conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloudmsys2: https://mirrors.bfsu.edu.cn/anaconda/cloudbioconda: https://mirrors.bfsu.edu.cn/anaconda/cloudmenpo: https://mirrors.bfsu.edu.cn/anaconda/cloudpytorch: https://mirrors.bfsu.edu.cn/anaconda/cloudsimpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud
pip 使用北外源
pip install pip -U --userpip config set global.index-url https://mirrors.bfsu.edu.cn/pypi/web/simple
