Original tutorial appeared on https://sittingdev.com/blog/classic-jupyter-notebook-ubuntu/
In this simple tutorial, you are going to learn how to install the classic version of Jupyter Notebook on Ubuntu 20.04.
For this tutorial, you will need to make sure that you have Python 3 installed.
Note: This tutorial should also work if you are using Ubuntu 18.04 if you have Python 3 installed.
You can check this by opening up a terminal and typing
If you are using Python 3 then you should already have pip installed.
You can update pip by running this command:
python -m pip install -U pip
Now we are ready to install the classic version of jupyter notebook.
In your terminal enter the following pip command:
pip3 install notebook
Before you run the server you might want to create a new directory to hold the files you will be using inside of jupyter.
Go back to the command line in your terminal.
You might want to create a readme file as well.
Now launch the jupyter notebook server in your terminal.
You can close the server by hitting
ctrl + c and then confirming
y you want to quit in the terminal.
Run the following command:
sudo python3 apt install python3-venv
python3 -m venv virtual
Now run the command:
You can exit the virtual environment by entering the
pip3 install ipykernel
python3 -m ipykernel install --user --name=virtual
Now run jupyter notebook again.