Conda: Configurations

 20th August 2020 at 2:19pm

配置放在 ~/.condarc 或者 Conda 安装目录下的 .condarc

下载太慢

可以在 .condarc 中配置代理:

proxy_servers:
  http: http://fm-proxy.oa.com:8080
  https: http://fm-proxy.oa.com:8080

也可以配置清华的代理:

channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/menpo/
  - defaults