直接打开AI STUDIO
然后切换到终端
wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh
挪到work
cp Miniconda3-latest-Linux-x86_64.sh work/
chmod 777 Miniconda3-latest-Linux-x86_64.sh
安装
./Miniconda3-latest-Linux-x86_64.sh
安装路径
work/miniconda
换源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/
conda config --set show_channel_urls yes