报错1.卸载环境时报错:
The current user does not have write permissions to the target environm
或许是因为在安装时使用了管理员权限 sudo
解决方法:给予主目录下miniforge3文件权限即可(在主目录下运行)
sudo chown -R $username miniforge3或者anaconda3等
报错2.
Verifying transaction: | WARNING conda.core.path_actions:verify(958): Unable to create environments file. Path not writable.
environment location: /Users/blackerteller/.conda/environments.txt
解决方法:给予主目录下.conda文件权限即可:
sudo chown -R $username .conda