Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG REPORT: Error: "EnvironmentLocationNotFound: Not a conda environment: C:\ProgramData\Anaconda3\envs\Anaconda3" #94

Open
richlysakowski opened this issue Mar 29, 2021 · 0 comments

Comments

@richlysakowski
Copy link

richlysakowski commented Mar 29, 2021

FATAL BUG !!

This extension thinks that Anaconda3 BASE is a sub-environment.

When opening this NB extension in Classic Jupyter NB, I get the following fatal errors in a JavaScript pop-up dialog.

"An error occurred while retrieving installed packages. Internal Server Error"
When I dismiss the dialog another javascript dialog pops up

"EnvironmentLocationNotFound: Not a conda environment: C:\ProgramData\Anaconda3\envs\Anaconda3"

The NB_conda extension also opens a modal Windows command console that displays

"Active code page: 65001 
CONDA_PREFIX=%CONDA_PREFIX%"

When dismiss / close this command console, another one with the same message reopens.

The errors do not go away. This is a serious bug !!!

It shows 2 (two) "Default?" environments:

  1. "root" at "c:\ProgramData\Anaconda3"
  2. "Anaconda3" at "c:\ProgramData\Anaconda3"

In the "Conda" tab in the Classic Notebook Dashboard, it lists my conda environments TWICE. It shows 38 when I have 16. This is seriously messed up with the root environment selected 2 times.

Every time I click on the "Conda" tab, another Windows command console opens up with nothing in it. And then when I close that it gives me the Error dialog again "An error occurred while retrieving package information.
Internal Server Error"

If I click on the Anaconda3 environment, it gives the errors and pop-ups described again.

I am not going to fix it manually as others have done because it crashes my Jupyter Notebook installation now.

The directory referenced in another to manually fix it does not exist on Windows 10.

anaconda_dir/lib/python3.6/site-packages/nb_conda/envmanager.py
The best solution is to uninstall this package until this fatal bug is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant