-
Notifications
You must be signed in to change notification settings - Fork 31
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
Erroneous Environments Showing up in Conda Nb tab with error #66
Comments
Seems this could be related to conda instal plotly which upgraded conda and anaconda. Does anyone think that is related? |
Okay this looks like there is actually a bigger issue with the new anaconda version. Conda_NB is not compatible with newest versions of Anaconda and Conda. |
The reason is the change of Variety of kernels in the "New" button is still here, though. |
The above method solved the problem. But keep the |
The method worked for me too, but the path should be |
Had the same problem, and fixed it modifying the Should a pull request be done to fix this? |
Yes, just modify the |
I added @voidworker's fix to pull request #75, which also fixes some other issues with conda>=4.4 |
Hi, My environment in Anaconda Navigator works well shows the right one as in Conda terminal. But in Jupyter, tab Conda, I have got the same issue as above.
Please, note I think this problem come from the "Clone" fonction in Anaconda Navigator. I wanted to clone the Root environment in order to copy it as a new fixed environment :( (The next time, I will create a new environment and I will install Anaconda and the packages I need :). ------------ The complete error message: ----------------- Copy/paste this URL into your browser when you connect for the first time, Please note too that Jupyter works perfectly (except conda tab). Thank you for your time. José. |
Please note I installed
I wonder if it has been a good idea José |
We are working on upgrading our JupyterHub instance to use version 0.9.1 and Conda version 4.5.8. If, after a fresh Conda install, we attempt to use the root/base environment we see the error in https://github.com/Anaconda-Platform/nb_conda/issues/66, but we have worked around that by creating a new Conda environment specifically for JupyterHub. As an example: |
I've got a PR here (#75) that includes @voidworker's fix for this, as well as some other Conda 4.4 issues, but there doesn't seem to be much movement on it. @fjcapdevila are you still a maintainer? @jrelland it looks like you just made a typo when manually applying the fix: In the line marked as containing a 'Syntax error' there's an extra square bracket at the end of the line. |
voidworker's fix solved problem, and don't forget to restart jupyter notbook. |
where can i do that ? |
Any plans to get this fixed once for all? |
More than a year an a half in..can we get this bug fixed? |
how to do all of this?? |
I fix the envmanager.py, but it seems appears one new bug’ EnvironmentLocationNotFound’. Not a good thing to me... |
Another super-duper tip: consider switching to to https://github.com/fcollonval/jupyter_conda |
please have you been able to do this |
The method worked. |
@marcellovirzi nothing really funny about it, this extension is completely abandoned by the anaconda team. No commit since July 2017... |
Yeah, I was ironic... |
Resolved this issue by replacing After this I have only one default environment |
Can someone please explain the solution as simple as possible. I'm almost pulling my hair out trying to figure out where 'for env in info[ 'envs' ] ] is and how to replace it with 'for env in info[ 'envs' ] if env != info[ 'root_prefix' ] ] in /opt/conda/lib/python3.8/site-packages/nb_conda/envmanager.py. Someone help please. |
Solved! Thanks |
None of this worked for me as my issue was slightly different, but I found the removed environment that was being returned in the error was stored in the environment variable |
@schultzm Are you working in Linux OS? I searched for that environment variable on Windows 10 and cannot find it. |
nb_conda is unsupported ? The directory referenced in another to manually fix it does not exist on Windows 10.
|
Not sure how to fix this, or how it got corrupted.
Error Message:
EnvironmentLocationNotFound: Not a conda environment
Pics Below:

The text was updated successfully, but these errors were encountered: