添加国内源:
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 --set show_channel_urls yes
换回默认源:conda config --remove-key channels
在执行conda config 命令的时候
会在当前用户目录下创建 .condarc 文件,可以查看更换源前后该文件内容的变化。
参考: https://blog.youkuaiyun.com/sean2100/article/details/80998643
本文介绍如何使用conda命令配置国内镜像源,以加速Anaconda环境的资源下载速度。通过添加清华大学的Anaconda镜像源,可以有效提升conda包的安装效率。同时,文章也提供了如何恢复默认源的方法。
1330

被折叠的 条评论
为什么被折叠?



