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 成功,没有报错。看来是解决了。
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM