0

When spyder starts up, and there is a new version available, it says to run conda update anaconda before updating spyder itself. But this gives me a PackageNotInstalledError. After looking through my file directory, I see an anaconda in /home/anaconda3/bin.
When I conda update --prefix /home/erik/anaconda3/bin anaconda I get DirectoryNotACondaEnvironmentError.

When I conda update --prefix /home/anaconda3 anaconda I get EnvironmentLocationNotFound: Not a conda environment: /home/anaconda3.

When I conda update --prefix /home/anaconda3/bin anaconda I get EnvironmentLocationNotFound: Not a conda environment: /home/anaconda3/bin.

I have a few virtual environments, plus the base environment. The errors are the same whether or not I have the base environment activated or deactivated. conda list from the base environment shows anaconda-client and anaconda-navigator, but no plain anaconda or anaconda3. conda update --all works fine. conda update *any other installed package* works fine too. Is the message in the spyder pop-up just misleading then? In one other case, the directions in the pop-up window were misleading.
(Linux System76 machine running Pop!OS.)

Erik Iverson
  • 309
  • 1
  • 11
  • Does this answer your question? [How do I update Anaconda?](https://stackoverflow.com/questions/45197777/how-do-i-update-anaconda). Specifically `conda update -n base conda` – the_strange Oct 25 '22 at 12:32

0 Answers0