jupyterlab-desktop: Failed to find a compatible python environment at the configured path (3.3.2-2+)
Description
With the latest release (v3.3.2-2) of Jupyterlab Desktop, I can’t use python env created by conda. It prompted with the following message. With v3.3.2-1, I didn’t have any issue.
failed to find a compatible python environment at the configured path “/users/p.xing/library/jupyterlab-desktop/jlab_server/bin/python”. environment python package requirements are: jupyterlab >=3.1.0.
Reproduce
- Install the latest v3.3.2-2
- activate python env with
conda activate jupyterlab
- get python dir
which python
- Use the prompted path
/Users/myUserName/miniconda3/envs/jupyterlab/bin/python
as the Jupyter lab desktop custom env path - failed to boot
Expected behavior
(pre) Solution
Using the v3.3.2-1 pkg installer, boot up with no issue.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 43 (15 by maintainers)
Could someone fix this, please?
Having this issue since v3.3.4
Problem persist here too.
I start up J-Lab app from terminal and select
/home/adam/Programs/miniconda3/envs/sklearn-env/bin/python
as my python env, it reports:and there is from terminal:
I just hit something similar with a virtualenv environment on first install. I had to install the bundled environment first, then I could switch to the custom environment.
Can also confirm that this is similarly broken on M1 Pro. It is impossible to switch environments from conda to pip. The system never recognizes my virtualenv with jupyterlab installed. It works just fine on my Intel Mac Mini.
I cannot use Jupyter Desktop at all since Conda is a nonviable environment for us.
Jupyter installed via homebrew, using the instructions above, works.
Hi. I upgraded from
jupyterlab-app (3.1.12-1)
tojupyterlab-desktop (3.3.4-2)
on my Debian Linux laptop and got this error too.I ran
mv ~/.config/jupyterlab_app{,.bak}
after removingjupyterlab-app (3.1.12-1)
. I am trying to use a conda env Python3 too.conda
is alreay in myPATH
, which can be confirmed by runningconda activate sklearn-env
to get a working python 3.9.13 env.I tried launching in a terminal with
/opt/JupyterLab/jupyterlab-desktop
command after I activated the conda Python3 env but the same error persisted. This is~/.config/jupyterlab-desktop/logs/main.log
:See the line
It’s definitely looking for the wrong thing, where I was told to choose a the path to python (in my case
/home/adam/Programs/miniconda3/envs/sklearn-env/bin/python3
), but it’s somehow looking for a env? I may have to set/home/adam/Programs/miniconda3/envs/
atUse a custom Python environment
but it won’t let me choose a path to a dir. Help this helps.Yep it’s expanded in the error message (and when I select it)
That gives the same result (
/Users/ldavis/miniconda3/bin/
is already in$PATH
). It’s macOS.It’s version
3.4.2
.Here you go (inside
<details>
):Issue still exists on v3.3.4-2 I created an alias /Users/user_name/Library/jupyterlab-desktop/jlab_server/bin/python to the python path, which in my case is, /Users/user_name/opt/anaconda3/bin/python