-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Interpreter selection is challenging #594
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
👍 I have written a bit more in-depth explanation on why it the way it is: #473 (comment) and why I do not like it but your argument is valuable as it concisely shows how user expectations are broken. |
@astrojuanlu desktop app was not tested for micromamba but mainly with conda and venv. we will investigate the issues you reported. |
Btw I found why I was not able to launch
Will open a separate issue for micromamba support. |
I have to agree. Many years user of conda and "terminal"-jlab user here. I simply don't understand what jlab-desktop wants from me? No path I tried worked. What IS the path to a conda base/root ? I tried the very general $HOME/mambaforge but I also tried $HOME/mambaforge/bin/python and $HOME/mambaforge/envs/py311/bin/python (which has ipykernel installed). Nothing was accepted. Note that there isn't anything special about mambaforge, it just defaults to a different channel and uses the mamba execetuable on top of fully existing conda exectuable so nothing should interfere with jlab-desktop. |
@michaelaye when you tried various environments did they have the latest JupyterLab version installed or not? Just looking at your comment, other issues and documentation it seems that maybe this quite important requirement is no longer exposed as it should be. |
@michaelaye JupyterLab Desktop doesn't support mamba environments yet. They might be detected as conda environments by the app, but if you don't have conda installed, then env activation would fail. |
To my knowledge, the usual mamba (so, not micromamba) doesn't actually work without conda installed, so there should actually be no difference between an environment created by conda or mamba? |
It seems my question was missed, but this (missing jupyterlab installation) was the reason in #704 where I commented that the information about missing JupyterLab information does not seem to be exposed in UI when environment startup fails. |
Ah sorry, about having the most recent jupyterlab: Yes, when I try to point it to my “work envs”, they are always up to date and “fully equipped”, No, for the base env, as a full install of a science stack is “frowned upon” for the base env, as that env is also used for managing conda itself. But, as I said, it is also unclear from the UX if I have to point it to the base env or if any fully equipped env should work. And to which precise path? I was inferring from the existing setting, that I need to point to the Python executable in all cases, is that correct? I admit, I didnt read the docs… |
According to the docs, pointing to |
Sorry for the delay. Here are some observations on my Linux system:
|
I just installed JupyterLab Desktop for the first time after reading https://blog.jupyter.org/introducing-the-new-jupyterlab-desktop-bca1982bdb23, and found the interpreter selection (necessary step before doing anything else) a bit challenging. Here's a timeline of what I did:
pip install ipykernel
inside that environment, and I still get "ipykernel
, and from my limited understanding of the Jupyter architecture, I thought this is the only piece that an existing Jupyter client needed to use an interpreter.pip install jupyterlab
, and now I don't see "Python environment not found" anymore. Progress! 👍🏽 but I'm prompted with another warning "micromamba env list
tells me thatbase
is in/Users/juan_cano/.micromamba
. I pick that directory, and I land on a screen that says "Failed to create session! Invalid base conda environment" 😓 micromamba environments not supported #596conda
executable (which it won't find) or whether I typed the wrong path again. So I quit the app, open it, pick the "conda root" again... and it takes me to the welcome screen 😳 Clicking "New notebook..." after that prompts me once more to choose the "conda root", which now takes me to the "Invalid base conda environment" screen I expected. This one looks like a bug to me.Context
.dmg
Browser Output (required for interface issues after loading)Two more issues:
Logs (required for issues with loading, server and startup)Couldn't find how to launch the app from the CLI:
jlab
was not found (maybe not in the$PATH
)The text was updated successfully, but these errors were encountered: