在 Anaconda 提示符下更新包时出现 RemoveError

RemoveError on updating packages in Anaconda prompt

我想更新我的包,我 运行 命令

conda update --all

但它给出了错误

"RemoveError: This operation will remove conda without replacing it with another version of conda."

如有任何帮助,我们将不胜感激。

你是对的,这是正确的命令。

conda update --all

但实际情况是某些包依赖于其他包。比如说,X 包需要 Y <=3.0,所以如果可用,Y 永远不会升级到更新的版本。

这个问题已经详细回答了。

我建议根据要求更新单个包。

希望对您有所帮助。 平安。