Open jasontwinters opened 4 years ago
Just so I understand, how is Anaconda supposed to work? Is my expected behavior valid, or do I not understand Anaconda works?
@jasontwinters your expected behavior is valid. It looks like this is a bug in Anaconda Navigator 1.9.12 on Linux which will require a new release of Navigator to fix it. In the meantime, the workaround you described of activating the environment via terminal and launching there should work.
Just so I understand, how is Anaconda supposed to work? Is my expected behavior valid, or do I not understand Anaconda works?
It is a bug, I reported it as an issue in Spyder but they closed it because it is related to anaconda-navigator.
It is solved if anaconda navigator is downgraded to 1.9.7:
conda install anaconda-navigator=1.9.7
I forgot to mention that Spyder works correctly with anaconda-navigator 1.9.12 if it is launched from a terminal, i.e.:
conda activate my_environment
spyder&
Thanks for taking a look and confirming
What is strange is that, if one activates an environment in Navigator, and from there launches Spyder, the version actually launched is the one in the base environment, not the one belonging to the environment selected. Actually Navigator does not switch to the correct environment path (also, the packages are not found). On the other hand, if one activates an environment and from there launches a terminal (click on green triangle and select open terminal), then Navigator brings to the correct environment. So, if from that terminal window we launch Spyder, everything works correctly. Hope they will fix the bug quickly
This was a bug in Navigator 1.9.12. It should be fixed in Anaconda Navigator 1.10.0 that was released today. Please update to the latest from the Anaconda Prompt or a terminal: conda update anaconda-navigator
Maybe I'm misunderstanding something fundamental about Anaconda but...
Actual Behavior
Using Anaconda Navigator...
However, if I use the Environments tab and green triangle to open a terminal on my 'Test' env and type 'spyder', it brings up Spyder 4.0.1 and the installed packages are found.
Expected Behavior
If I select a particular env in the "Applications on" drop-down and launch Spyder 4.0.1, I expect Spyder 4.0.1. I also expect any packages I've installed in that env be be available.
Steps to Reproduce
Using Anaconda Navigator
Anaconda or Miniconda version: 1.9.12
Operating System: Linux
conda info
conda list --show-channel-urls