简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM