当前位置:   article > 正文

conda | 设置软件源_conda 腾讯源

conda 腾讯源

目录

 

添加channels,以腾讯云为例

移除源

打印当前的channels

系统中的配置文件


添加channels,以腾讯云为例

腾讯源

conda config --add channels https://mirrors.cloud.tencent.com/anaconda/pkgs/free/

conda config --add channels https://mirrors.cloud.tencent.com/anaconda/pkgs/main/

conda config --add channels https://mirrors.cloud.tencent.com/anaconda/cloud/conda-forge/

conda config --add channels https://mirrors.cloud.tencent.com/anaconda/cloud/pytorch/

conda config --add channels https://mirrors.cloud.tencent.com/anaconda/pkgs/pro/

清华源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/

 

移除源

腾讯源

conda config --remove channels https://mirrors.cloud.tencent.com/anaconda/pkgs/free/

conda config --remove channels https://mirrors.cloud.tencent.com/anaconda/pkgs/main/

conda config --remove channels https://mirrors.cloud.tencent.com/anaconda/cloud/conda-forge/

conda config --remove channels https://mirrors.cloud.tencent.com/anaconda/cloud/pytorch/

conda config --remove channels https://mirrors.cloud.tencent.com/anaconda/pkgs/pro/

清华源

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/

 

打印当前的channels

位置越靠上,搜索的时候越优先

conda config --show channels

 

系统中的配置文件

可以在其中增加删除源,不同的系统可以查看具体的位置

~/.condarc 

 

 

使用PIP添加源  https://blog.csdn.net/lambert310/article/details/52412059

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/914317
推荐阅读
相关标签
  

闽ICP备14008679号