I recently broke my installation of Anaconda Navigator by using:
conda update --all -y
Apparently this is not uncommon, and it was a good excuse to reinstall Anaconda and start a new environment from scratch.
However, my new installation gives the following error, when trying to install any libraries:
I have tried:
All these methods produce this error, when trying to install libraries.
What's going on!?
You need to run the cmd prompt from the Scripts directory of Anaconda where ever you have the Anaconda parent folder installed. I happen to have in the root directory of the C drive on my Windows machine.
To update Anaconda to the latest version, type the following command. To update the Anaconda to a specific version, type the following command. The command conda update anaconda=VersionNumber grabs the specific release of the Anaconda metapackage; for example, conda update anaconda=2019.10.
If you install Anaconda as admin, then you need to launch it as admin every time you run updates.
You can enable this behaviour by default by navigating to the Anaconda launch shortcut, right-click > Properties, go to Shortcut tab, click Advanced, and tick 'Always launch as administrator'.
Have you tried to create a new environment? I had the same message in another situation and that's what worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With