To get the ipython notebook type in your terminal the following lines :
sudo pip install jupyter
To run the notebook witouth any specific output port and with a designed port :
jupyter notebook
jupyter notebook --port 9999
source :
https://ipython.org/install.html
https://ipython.readthedocs.io/en/stable/install/install.html
https://ipython.readthedocs.io/en/stable/install/install.html
https://jupyter.readthedocs.io/en/latest/running.html#running