location: jupyter

Institute of Mathematics - PublicMathWiki:

You can't save spelling words.

Clear message

Jupyter

Starting Jupyter on a compute server: type in a terminal

ssh compute 'jupyter notebook --no-browser --ip=`hostname`'

It should produce an output similar to the one below

[W 08:46:57.555 NotebookApp] Loading JupyterLab as a classic notebook (v6) extension.
[C 08:46:57.555 NotebookApp] You must use Jupyter Server v1 to load JupyterLab as notebook extension. You have v2.5.0 installed.
    You can fix this by executing:
        pip install -U "jupyter-server<2.0.0"
[I 08:46:57.555 NotebookApp] The port 8888 is already in use, trying another port.
[I 08:46:57.558 NotebookApp] Serving notebooks from local directory: /home/b/<your-name>
[I 08:46:57.558 NotebookApp] Jupyter Notebook 6.5.3 is running at:
[I 08:46:57.558 NotebookApp] http://olive:8889/?token=<a-very-long-token>
[I 08:46:57.558 NotebookApp]  or http://127.0.0.1:8889/?token=<a-very-long-token>
[I 08:46:57.558 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 08:46:57.564 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///home/b/<your-name>/.local/share/jupyter/runtime/nbserver-<notebook-id>-open.html
    Or copy and paste one of these URLs:
        http://olive:8889/?token=<a-very-long-token>
     or http://127.0.0.1:8889/?token=<a-very-long-token>

Open either of the links file:///... or http://olive:8889/... by clicking on it with right button and selecting _Open link_ from the menu.

Note Do not use http://127.0.0.1:8889/... - this link will not work!

PublicMathWiki: jupyter (last edited 2023-07-12 06:57:49 by kputyr)