About
This page shows you how to install Jupyter locally.
Options
Hosting
To get access to Jupyter, you can use a hosting service.
Example:
- Binder:
- Google: https://colab.research.google.com/notebook - Jupyter notebook environment
Docker
You can install it locally with a docker image.
Example:
- starting the data science jupyter notebook on the local port 10000
# first time (Container creation with the name jupyter)
docker run -p 10000:8888 --name jupyter -d quay.io/jupyter/datascience-notebook:2023-11-17
# second time
docker start jupyter
- Getting the link
docker logs jupyter
To access the server, open this file in a browser:
file:///home/jovyan/.local/share/jupyter/runtime/jpserver-8-open.html
Or copy and paste one of these URLs:
http://709e0a3e47d4:8888/lab?token=e8c533072b9030885e35eb9110e0c97446aa436602d1a08a
http://127.0.0.1:8888/lab?token=e8c533072b9030885e35eb9110e0c97446aa436602d1a08a
- Replace the port link with the external port 10000 given at the command line
http://127.0.0.1:10000/lab?token=e8c533072b9030885e35eb9110e0c97446aa436602d1a08a
For more images, see the selecting article.
The Github repository for ready-to-run docker image is located at: jupyter/docker-stacks
On a Operating system
More option (pip,…) see : ref doc
Installing the Jupyter Notebook will also install the iPython kernel to work with Python
Anaconda
jupyter notebook
Pip
pip install jupyter