大家好,又见面了,我是你们的朋友全栈君。
# 换源
### 1.Conda切换为清华源
> 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/pkgs/free/
> conda config –add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
> conda config –append channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/fastai/
> conda config –append channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
> conda config –append channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
> conda config –set show_channel_urls yes
![](http://imgs.bizha.top//2fbaf2ab3fa0d9f6df00a920e71ec352)
### 2.Conda切换为中国科技大学源
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
> conda config –add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
> conda config –set show_channel_urls yes
### 3.Conda切换为上海交通大学源
>conda config –add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
>conda config –add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/
>conda config –add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/cloud/conda-forge/
> conda config –set show_channel_urls yes
### 删源
>conda config –remove channels https……
### 查看已安装源
>conda config –show
### 设置搜索时显示通道地址
>conda config –set show_channel_urls yes
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/188665.html原文链接:https://javaforall.cn