仍以清华镜像官方配置为例,更改default_channels默认站点且配置部分常用Community Channel镜像源。当命令使用-c some_channel选项指定某一镜像源且此镜像源在custom_channels列表中时,Conda则直接使用custom_channels配置地址。如果custom_channels列表无地址配置则查找channel_alias设定站点,查询无果则报错。 # 生成配置文件$...
# Add conda channels below defaults, indented by two spaces and a hyphen.channels:- nodefaults - file:///user-home/_global_/config/conda/custom-channel/custom_channel# Add conda packages here, indented by two spaces and a hyphen.dependencies:- seawater# Add pip packages here, indented by f...
conda更换其他的国内源 有时候某个国内源可能无法访问,或者例如清华源使用人数过多等造成连接缓慢 手动编辑~/.condarc文件或者conda config --show-sources查看当前的config的channel信息 北京外国语的conda镜像 channel_alias:https://mirrors.bfsu.edu.cn/anacondachannels:[]custom_channels:conda-forge:https://mirror...
查看conda使用的源 conda config --show channels 增加源,解决下载慢的问题 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 移除源 conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ 清除索引缓存 conda clean -i 常用...
!conda search -c file:///user-home/_global_/config/conda/custom-channel --override-channels !conda install seawater -c file:///user-home/_global_/config/conda/custom-channel/custom_channel 创建具有conda.yaml规范的软件包扩展,如示例中所示,并将该软件包扩展与客户软件规范相关联。 请注意,必须将...
custom_channels: conda-forge: http://mirrors.aliyun.com/anaconda/cloud msys2: http://mirrors.aliyun.com/anaconda/cloud bioconda: http://mirrors.aliyun.com/anaconda/cloud menpo: http://mirrors.aliyun.com/anaconda/cloud pytorch: http://mirrors.aliyun.com/anaconda/cloud ...
custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud ...
custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud ...
查看conda使用的源 conda config --show channels 增加源,解决下载慢的问题 conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ 移除源 conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ ...
custom_channels: conda-forge:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud ...