Anaconda is a Python distribution for scientific computing. It supports Linux, Mac, Windows, and contains many popular Python packages for scientific computing and data analysis.
Anaconda installation package can be downloaded at https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ .
TUNA also provides images of Anaconda warehouse and third-party sources (conda-forge, msys2, pytorch, etc., see the full list ), and each system can modify the .condarc
files in the user directory . Windows users cannot directly create .condarc
a file named , they can first conda config --set show_channel_urls yes
generate the file and then modify it.
Note: Due to the excessive difficult to synchronize, we are not synchronized pytorch-nightly
, pytorch-nightly-cpu
, ignite-nightly
three packages.
channels:
- defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
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
Anaconda Python free repository can be added.
Run to conda clean -i
clear the index cache to ensure that the index provided by the mirror station is used.
Run the conda create -n myenv numpy
test.
Miniconda mirror help
Miniconda is a lightweight alternative to Anaconda. By default, it only includes python and conda, but you can install the required packages through pip and conda.
The Miniconda installation package can be downloaded from https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ .
Other three sources
For other three-party conda sources, if necessary, please modify the anaconda.py file and submit a pull request, we will consider multiple factors to increase or decrease as appropriate.