Jupyter notebooks

  • Start in background: nohup jupyter notebook --no-browser &.
    • Or nohup jupyter notebook --no-browser --debug > jupyter.log 2>&1 & to emit logs to a local file.
    • Check this if Jupyter keeps dying.
    • --ip=0.0.0.0 --port=5000
  • Stop: jupyter notebook stop. (Alternative: pkill -u username jupyter)
  • List (to get tokens): jupyter notebook list
  • Notebook URL here.

To run Jupyter from a Python virtual environment, do the following from that environment:

  • pip install ipykernel
  • python -m ipykernel install --user --name=some_friendly_name. (some_friendly_name is what will be visible in kernel list on Jupyter.)

Blogs: