kuniga.me > Docs > Jupyter Cheatsheet

Jupyter Cheatsheet

Installing

Only need the first time. Create a venv following this notes:

mkdir ~/my_env
python3 -m venv ~/my_env
source ~/my_env/activate

Install Jupyter:

pip install jupyter

Start in a clean environment

Create a venv following this notes:

mkdir ~/my_env
python3 -m venv ~/my_env
source ~/my_env/activate

Install the kernel module

pip install ipython ipykernel

Create a kernel for the venv:

ipython kernel install --user --name=my_env

Start Jupyter:

jupyter notebook

In the UI, make sure to select the my_env kernel. You can install modules via pip now, without messing with other environments.