FredHutch / easybuild-life-sciences

Howto and implementation documentation
https://fredhutch.github.io/easybuild-life-sciences/
21 stars 6 forks source link

JupyterLab not working #396

Closed bmcgough closed 4 years ago

bmcgough commented 4 years ago

I tried both the fhPython module, as well as the default JupyterLab module.

First, when I start jupyterlab I get: /app/bin/jupyterlab: line 18: netstat: command not found

There does not appear to be a netstat easyconfig. The package netstat seems to be installed on rhino, but not gizmo (at least, not gizmof11).

Then, once started I do get a URL, but when I load that URL is a browser I get:

JupyterLab Error
JupyterLab application assets not found in "/app/software/Python/3.8.2-GCCcore-9.3.0/share/jupyter/lab"
Please run `jupyter lab build` or use a different app directory

Then when I run jupyter lab build I get:

An error occured.
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).

There is a node.js environment module, but the GCC version is not the same as fhPython. I loaded it anyway, and then jupyter lab build --app-dir=~/jupyterlab took a long time (3+ minutes) but finished. Then I got some errors running the command jupyterlab --app-dir=~/jupyterlab that seem to indicate jupyterlab is a broken wrapper.

Finally, I got a working jupyter notebook server by running jupyter lab --app-dir=~/jupyterlab --port=32086 --ip=0.0.0.0.

bmcgough commented 4 years ago

There is a reasonable workaround for Jupyterlab at this point - I will close this.