本文介绍了RemoveError:'setuptools'是conda的依赖项,不能从conda的操作环境中删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有Win 10
运行时:
conda update conda
我遇到此错误:
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
似乎无济于事
我尝试卸载anaconda并收到一条成功消息,但似乎仍有一些旧版本的痕迹仍然存在
I tried to uninstall anaconda and got a successful message but it seems there are some traces of older version that still persist
如何完全清除Anaconda安装的所有痕迹?
How can I completely erase all traces of Anaconda installation?
推荐答案
虽然我仍然没有找到如何彻底卸载anaconda的方法,但是我可以使用以下方法解决错误:
While I still did not find how to cleanly uninstall anaconda, I was able to resolve the error by using the following:
conda update --force conda
conda update anaconda
再来一次
conda update conda
结果,我得到了一个没有依赖冲突的稳定环境.似乎最新的conda中的内容过于严格,必须强制进行更新.
As a result, I got a stable environment with no dependency conflicts. Seems like something within latest conda is too restrictive and update must be forced.
这篇关于RemoveError:'setuptools'是conda的依赖项,不能从conda的操作环境中删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!