sudo apt install python3-pip sudo apt install python3-venv python3 -m venv venv source venv/bin/activate pip install -r requirements.txt deactivate
See Jupyter for more details on how to use virtual environments in Jupyter Notebook