conda更新国内源
介绍
conda下载虚拟环境的时候如果用它本来的源,下载会特别慢,还有可能会报错,例如下面这个。
这个时候我们更新成国内的源就行了。
清华源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
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/msys2/
# 设置搜索时显示通道地址
conda config --set show_channel_urls yes
版权声明:
作者:Reid
链接:https://www.ricemoon.cn/software/configuration/112.html
来源:RiceMoon
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
海报
conda更新国内源
conda下载虚拟环境的时候如果用它本来的源,下载会特别慢,还有可能会报错,例如下面这个。

共有 0 条评论