Setting Conda Source
Feb 08, 2021 | 908 views
Setting global conda source for all users
## config below file to set conda's global source
[root@mgt ~]$ ls /opt/ohpc/pub/apps/miniconda3/.condarc
/opt/ohpc/pub/apps/miniconda3/.condarc
## using Tsinghua's conda source
[root@mgt ~]$ cat /opt/ohpc/pub/apps/miniconda3/.condarc
auto_activate_base: true
channels:
- defaults
show_channel_urls: true
default_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/pkgs/msys2
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
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
# original
# channels:
# - conda-forge
# - defaults