question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jupyter Server Not Found (executable not in PATH)

See original GitHub issue

Description

When starting jupyterlab_app, I get the message:

Jupyter Server Not Found We were unable to launch a Jupyter server, which is a prerequisite for JupyterLab Native. If Jupyter is installed as a python module, but the python executable is not in your PATH, specify the executable location below. Otherwise, try installing or updating Jupyter. The Jupyter notebook version must be 4.3.0 or greater.

Despite a) having a working jupyter-lab installation that I can spin up from the terminal and which appears in the browser, b) having the python executable in my path, and c) having the requisite version of jupyter.

When I manually point jupyterlab_app to the python executable (/Users/aschuler/.pyenv/shims/python) via the CHOOSE PATH it spins the icon again for a moment and then returns the same “Server Not Found” message.

Context

I am running python through pyenv, which may be the issue here. Relevant information:

aschuler@Alejandros-MacBook-Air ~ % pyenv versions
  system
* 3.9.6 (set by /Users/aschuler/.pyenv/version)
aschuler@Alejandros-MacBook-Air ~ % echo $PATH    
/Users/aschuler/.pyenv/shims:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
aschuler@Alejandros-MacBook-Air ~ % jupyter --version
jupyter core     : 4.7.1
jupyter-notebook : 6.4.0
qtconsole        : 5.1.1
ipython          : 7.26.0
ipykernel        : 6.0.3
jupyter client   : 6.1.12
jupyter lab      : 3.1.13
nbconvert        : 6.1.0
ipywidgets       : 7.6.3
nbformat         : 5.1.3
traitlets        : 5.0.5
aschuler@Alejandros-MacBook-Air ~ % which python
/Users/aschuler/.pyenv/shims/python
aschuler@Alejandros-MacBook-Air ~ % which jupyter-lab
/Users/aschuler/.pyenv/shims/jupyter-lab

(MK): Extra details from title: jupyterlab_app fails to start on MacOS 11.5.2 with (pyenv issue?)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:50 (19 by maintainers)

github_iconTop GitHub Comments

3reactions
alejandroschulercommented, Sep 25, 2021

@krassowski I’d love to try that, but, as I said, I can’t get the app to even start the server. Based on my understanding, I can’t really do anything about the kernel without a running server in the first place, right?

2reactions
krassowskicommented, Nov 27, 2021

Hi @Kaisershmarren, @flashypepo, @alejandroschuler, @pybokeh the newly released v3.2.4-2 contains two fixes for this problem - would you mind testing it and letting us know if it works for you well now?

If it does not could you please provide the logs from:

  • on Linux: ~/.config/jupyterlab-desktop/logs/main.log
  • on macOS: ~/Library/Logs/jupyterlab-desktop/main.log
  • on Windows: %USERPROFILE%\AppData\Roaming\jupyterlab-desktop\logs\main.log
Read more comments on GitHub >

github_iconTop Results From Across the Web

executable file not in path for jupyter notebook in docker ...
It successfully creating an image. But while running I am getting error like this. container_linux.go:349: starting container process caused " ...
Read more >
What to do when things go wrong - The Jupyter Notebook
If Jupyter gives an error that it can't find notebook , check with pip or conda that the notebook package is installed.
Read more >
0 - Unix Stack Exchange
A pip install for jupyter notebook puts its binaries in ~/.local/bin, and then I'm asked to add ~/.local/bin to my PATH. Is it...
Read more >
IJulia · WebIO
Find the most likely candidate for the jupyter executable. This will locate jupyter by searching the PATH environment variable and, if not found, ......
Read more >
Step 1: Installing Jupyter Notebook - cs.wisc.edu
A lot of issues arise when jupyter & other dependencies get installed correctly, but then the OS doesn't know where to find them....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found