Differences between revisions 1 and 2
Revision 1 as of 2020-12-01 13:11:23
Size: 743
Editor: stroth
Comment:
Revision 2 as of 2021-06-29 09:55:22
Size: 751
Editor: stroth
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
 * After a successful start, the notebook prints the URL it's accessible under, which looks similar to `http://<hostname>.ee.ethz.ch:5998/?token=5586e5faa082d5fe606efad0a0033ad0d6dd898fe0f5c7af`  * After a successful start, the notebook prints the URL it's accessible under, which looks similar to<<BR>>
`http://<hostname>.ee.ethz.ch:5998/?token=5586e5faa082d5fe606efad0a0033ad0d6dd898fe0f5c7af`

How to setup and use Jupyter Notebook

Jupyter Notebook can easily be installed and started in a conda environment:

conda create --name jupyternb notebook --channel conda-forge
conda activate jupyternb
jupyter notebook --no-browser --port 5998 --ip $(hostname -f)
  • After a successful start, the notebook prints the URL it's accessible under, which looks similar to
    http://<hostname>.ee.ethz.ch:5998/?token=5586e5faa082d5fe606efad0a0033ad0d6dd898fe0f5c7af

  • A notebook started like this in a Slurm job will be accessible

  • For access from a remote PC through VPN the port range should be [5900-5999]

FAQ/JupyterNotebook (last edited 2024-02-09 12:00:46 by stroth)