RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment.

今天用conda install 任何包都会出现这个错误:

RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
试了第一种方法:
pip uninstall install setuptools 然后conda install setuptools ,没有用,依然报错
第二种:
conda update conda 没用,报相同错误
第三种:
conda update --force conda,成功,没有报错。
重新安装一下其他的包,比如numpy,conda install numpy 成功,没有报错。看来是解决了。
 
原文地址:https://www.cnblogs.com/hellojiaojiao/p/10872421.html