Mohammad Farzanullah
Mohammad Farzanullah

Reputation: 33

RemoveError on updating packages in Anaconda prompt

I want to update my packages for which I ran the command

conda update --all

but it is giving the error

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

Any help would be appreciated.

Upvotes: 2

Views: 5407

Answers (1)

Parthik B.
Parthik B.

Reputation: 502

you're right, this is the correct command.

conda update --all

but what happens is that some packages are dependent on other packages. Say, the X package requires Y <=3.0, so Y will never upgrade to the newer version if available.

This question has been answered here in detail.

I recommend updating individual packages as per requirement.

Hope it helps. Peace out.

Upvotes: 1

Related Questions