Installing Jupyter notebook - jordy33/turbogears_tutorial GitHub Wiki
Check prerequisites A Linux/Unix based system
Python 3.5 or greater
nodejs/npm
If you are using conda, the nodejs and npm dependencies will be installed for you by conda.
If you are using pip, install a recent version of nodejs/npm. For example, install it on Linux (Debian/Ubuntu) using:
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt-get install npm nodejs-legacy
Install Jupyter
npm install -g configurable-http-proxy
sudo apt install python3-pip
python3 -m pip install jupyterhub
Generate a default config file
On startup, JupyterHub will look by default for a configuration file, jupyterhub_config.py, in the current working directory.
To generate a default config file, jupyterhub_config.py:
jupyterhub --generate-config
This default jupyterhub_config.py file contains comments and guidance for all configuration variables and their default values. We recommend storing configuration files in the standard UNIX filesystem location, i.e. /etc/jupyterhub. edit file
vim jupyterhub_config.py
Change
Execute jupyter
jupyterhub -f /path/to/jupyterhub_config.py