miniconda

 

2023-05-13

安装配置

  1. 下载: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  2. 安装: bash Miniconda3-latest-Linux-x86_64.sh (自动安装加 -b 参数)

修改源

先编辑 vim ~/.condarc 文件,修改后执行 conda clean -i 清除缓存即可.

1
channels:
2
- defaults
3
show_channel_urls: true
4
default_channels:
5
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
6
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
7
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
8
custom_channels:
9
conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
10
msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
11
bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
12
menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
13
pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
14
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
15
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

参考