Packaged macOS app unable to launch server
See original GitHub issueHi,
I followed the instructions in the README to build the electron app, which I can launch no problem from the command line using npm run build:all
. I also packaged the app into an osx .app using npm run dist
, and moved the app contained in the resulting dist/JupyterLab.dmg
into /Applications
. When I run the packaged app, I only get the screen
Jupyter Server Not Found
We were unable to launch a Jupyter server, which is a prerequisite for JupyterLab Native. If Jupyter is already installed, but it is not in your PATH, specify its location below. Otherwise, try installing or updating Jupyter. The Jupyter notebook version must be 4.3.0 or greater.
CHOOSE PATH | INSTALL JUPYTER
Jupyter is definitely on my path:
$ which jupyter
/Users/{username}/anaconda/bin/jupyter
I’ve pointed the app at every reasonable binary in /Users/{username}/anaconda/bin
but with no success.
My versions are
jupyter==1.0.0
jupyter-client==5.2.2
jupyter-console==5.2.0
jupyter-core==4.4.0
jupyterlab==0.31.8
jupyterlab-launcher==0.10.5
notebook==5.4.0
and I’m on macOS version 10.12.6 (16G1212).
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Hello @JohnPaton, If you’re running on OSX there is the possibility that your environment variables, namely
$PATH
and by extension yourjupyter
andpython
executables, are not being updated on the start of the application. PR #150 should hopefully provide a solution.@JohnPaton Anytime! Closing, but if you need to, please re-open at any point.