-
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
Compatibility with Mamba & Micromamba #234
Comments
I have a proof-of-concept here that seems to be working in my deployment, at least: https://github.com/ken-lauer/nb_conda_kernels/tree/enh_micromamba |
You might be surprised to hear this but I have no problem with the idea of making this work with micromamba. But I do think it is essential that it be well tested. |
Haven't done much development on neither conda nor mamba but I'm happy to help test or contribute; lmk if you think there is something I can help with. |
Here's what I think would be required.
|
Keep in mind that |
Any progress? I tried @ken-lauer 's repo but it didn't work, I don't know if I'm doing something wrong. Here are my steps: # in micromamba env with jupyter
> git clone https://github.com/ken-lauer/nb_conda_kernels.git
> cd nb_conda_kernels/
> git checkout enh_micromamba
> pip install -e .
> python -m nb_conda_kernels.install --enable
Enabling nb_conda_kernels...
CONDA_PREFIX: /path/to/micromamba/envs/jupyter
Status: enabled
> jupyter lab
[E 2024-05-16 14:33:09.968 ServerApp] [nb_conda_kernels] couldn't call conda:
[Errno 2] No such file or directory: 'conda'
[I 2024-05-16 14:33:10.004 ServerApp] [nb_conda_kernels] enabled, 0 kernels found
# and the kernels of other micromamba environments doesn't show up in jupyter lab webui
> python -m nb_conda_kernels list
[ListKernelSpecs] ERROR | [nb_conda_kernels] couldn't call conda:
[Errno 2] No such file or directory: 'conda'
[ListKernelSpecs] [nb_conda_kernels] enabled, 0 kernels found
Available kernels:
python3 /path/to/micromamba/envs/jupyter/share/jupyter/kernels/python3
> jupyter kernelspec list
Available kernels:
python3 /path/to/micromamba/envs/jupyter/share/jupyter/kernels/python3 |
I am not seeing any work being done on this. External contribution will be required. If nb_conda_kernels is essential for you, you'll need to use conda (with the libmamba solver, of course)! |
@genghisun I have I'm well aware that the above wouldn't be acceptable for inclusion into |
@ken-lauer Thanks! I made it after |
Hi! I noticed this extension does not work with
micromamba
.My workflow consists of defining
alias conda=micromamba
and suits almost all my needs.After looking at
manager.py
I noticed that the output ofmicromamba info --json
is quite different than the expected one (a lot of different and missing keys).So my questions are:
micromamba
?Thanks
The text was updated successfully, but these errors were encountered: