conda 添加镜像源头

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

    相关文章

      网友评论

        本文标题:conda 添加镜像源头

        本文链接:https://www.haomeiwen.com/subject/bosigltx.html