conda 添加镜像源头
2021-09-21 本文已影响0人
uurr
- 输入:conda config --remove channels
这个命令是为了移除之前conda config --show channels显示的其它源。 - conda config --show channels
此时因该只剩下base源头 - conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
添加清华的conda-forge源 - conda config --set show_channel_urls yes
意思是从channel中安装包时显示channel的url,这样就可以知道包的安装来源了。 - conda config --set always_yes false
这里的意思是安装确认中,不默认yes
————————————————
版权声明:本文为CSDN博主「宇内虹游」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_39278265/article/details/84782550