Linux下安装miniforge
Linux下下载、安装miniforge,并去掉mamba的banner。
# Setup Miniforge
wget https://mirrors.tuna.tsinghua.edu.cn/github-release/conda-forge/miniforge/LatestRelease/Miniforge3-Linux-`uname -m`.sh
chmod +x ./Miniforge3-Linux-`uname -m`.sh
./Miniforge3-Linux-`uname -m`.sh -b -f -p ~/.miniconda
~/.miniconda/bin/mamba init
bash
conda config --set auto_activate_base false
# Remove Mamba Banner
mamba activate base
mamba env config vars set MAMBA_NO_BANNER=1
mamba deactivate
mamba activate base
conda换清华源
echo "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/r
- 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
pytorch-lts: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
deepmodeling: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/" > ~/.condarc
pip换清华源
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
本文版权,除注明引用的部分外,归作者所有。本文严禁商业用途的转载。非商业用途的转载需在网页明显处署上作者名称及原文链接。