Anaconda3已经支持在原生的M1 Mac上运行,本篇文章讲介绍如何卸载之前安装好的miniforge3和如何安装新版本的Anaconda3
第一步:打开终端
第二步:Miniforge对你的shell rc文件所做的任何修改。
# Use this first command to see what rc files will be updated
conda init --reverse --dry-run
# Use this next command to take action on the rc files listed above
conda init --reverse
第三步:删除安装Miniforge基本环境的文件夹和所有子文件夹。
CONDA_BASE_ENVIRONMENT=$(conda info --base)
echo The next command will delete all files in ${CONDA_BASE_ENVIRONMENT}
# Warning, the rm command below is irreversible!
# check the output of the echo command above
# To make sure you are deleting the correct directory
rm -rf ${CONDA_BASE_ENVIRONMENT}
第四步:移除任何留下的全局conda配置文件。
echo ${HOME}/.condarc will be removed if it exists
rm -f "${