This is an old revision of the document!


jupyterhub

references

VirtualEnv

First we create a virtual environment under '/opt/jupyterhub'. Both jupyterlab and jupyterhub will be installed into this virtualenv

[root@jhub ~]# python3 -m venv /opt/jupyterhub/

now we have a virtual env for python3 in /opt/jupyterhub

[root@jhub ~]# ls /opt/jupyterhub/bin/
activate  activate.csh  activate.fish  easy_install  easy_install-3.6  pip  pip3  pip3.6  python  python3