卓越飞翔博客卓越飞翔博客

卓越飞翔 - 您值得收藏的技术分享站
技术文章29319本站已运行3620

conda换源命令有哪些

conda换源命令有:1、更改conda软件源为清华大学镜像站:conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/;conda config --set show_channel_urls yes;2、更改conda软件源为中科大镜像站等等。

conda换源命令有哪些

本教程操作系统:windows10系统、Python3.11.4版本、Dell G3电脑。

常用的conda换源命令包括以下几种:

1、更改conda软件源为清华大学镜像站:

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

conda config --set show_channel_urls yes

2、更改conda软件源为中科大镜像站:

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

conda config --set show_channel_urls yes

3、更改conda软件源为华中科技大学镜像站:

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

conda config --set show_channel_urls yes

4、恢复默认软件源:

conda config --remove-key channels

这些命令可以帮助你更改conda的软件源为国内的镜像站,以加快包的下载速度和提高安装效率。根据你的网络环境和需求,选择合适的镜像站并使用相应的命令来更改conda的软件源。

卓越飞翔博客
上一篇: 怎么更新numpy版本
下一篇: 返回列表
留言与评论(共有 0 条评论)
   
验证码:
隐藏边栏