-
Notifications
You must be signed in to change notification settings - Fork 70
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
conda 4.4.7 does not work with nb_conda_kernels in new/reinstalled envs #73
Comments
This is now blocking my work on another machine, please help! No env discovers the installed kernels anymore. Update: Phew, sorry, the |
i went back to conda 4.3.x and things are working. |
Hi, im experiencing the same problem after upgrading to conda 4.4.7. was working on 4.3.30 and I had 4.3.30 on two separate system: mac OS X and a scientific linux - and |
Cross referencing jupyter/jupyter_client#338 |
@goweiting did you directly go to 4.4.7 from 4.3.x? Because I tried 4.4.7 now again after a complete wipe of my miniconda folder, and everything seems to be working now. On my side, this issue could be closed. |
@michaelaye some of my systems are still running processes so i am not ready to shut them down yet. |
I don't think this issue has been fixed yet. Running from jupyter, The problem is that since conda 4.4 it appears there is no link to the For environments that have been created before conda 4.4 it still works because a link to the A workaround for new/reinstalled envs would be for example to manually create a symlink to the conda executable in their A cleaner solution would be that |
@benbovy Thanks very much for the workaround and the fix. I had the same issue in conda 4.5.3 in a non-base env: nb_conda was not usable without your fix. |
I'm trying to address this in #80 |
Actually, #82 is going to address this. |
We've merged #82, so we should be good now. Of course, the packages still need to be built, and I'll work on that. |
Thanks @goweiting your code works for me! In my case I installed the IRkernel and I cannot find my kernels anymore. |
this is still not fixed with nb_conda_kernels 2.1.0 ? |
was this fixed in 2.1.1? If yes, I'm not seeing that version on any osx-64 channel? |
Not available for linux either:
@mcg1969 Any progress on shipping your latest changes? |
I've submitted a conda-forge PR |
Thanks @mcg1969. It looks like the 2.1.1 packages are all up on conda-forge now! However, after installing this package on my mac, the extension is not enabled by default. I have to run: This used to be done in a post-link script that was shipped in the package. Is this change intentional? [Also, if Continuum is not going to update this package in defaults, should it be removed from there?] |
So: the problem is that as of #82 the E.g. when I build the 2.1.1 package locally on my mac, the scripts are included:
But the version shipped by conda-forge does not include these scripts:
This is not caught by any tests because the package builds and tests correctly as part of this repo, and conda-forge doesn't seem to run the package's own tests (see https://github.com/conda-forge/nb_conda_kernels-feedstock/blob/master/.travis.yml) The solution would seem to be: Find a way to coerce conda-forge to include the post-link and pre-link scripts from the source repo. (This could be as simple as copying them over to the conda-recipe folder, but I'm not sure the best way to do this). I'll also open an issue on the feedstock page to track this. |
In base env my launch log for a jupyter notebook looks like that:
I recently reinstalled by
stable
setup, which is a Python 3.6 env with all my everyday packages and no GH master stuff.Since the reinstall,
nb_conda_kernels
can't call conda from within thestable
env:while my older envs still work fine, e.g. my Python 3.5 env.
I noticed that I can of course run my work from the base env because my kernels from the other envs are being found there, but imagine it wouldn't be working there as well, then I couldn't work at all, because I don't recall anymore how to manually install kernels, so scary indeed.
I'm running these on a macOS 10.12.6 with miniconda3 and conda-forge as default.
The text was updated successfully, but these errors were encountered: