1.打开anaconda prompt
2.添加清华镜像1:https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
3.添加清华镜像2:https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
3.添加中科大镜像:https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
4.设置
conda config --set show_channel_urls yes
5.检查channels是否成功
conda config --show channels
原文地址:https://www.cnblogs.com/jottings/p/9813875.html
时间: 2024-10-11 12:29:00