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

this wheel package is hence installed in /opt

[root@jhub ~]# ls -ltr /opt/jupyterhub/lib/python3.6/site-packages
total 36
-rw-r--r--  1 root root  126 10 juil. 19:28 easy_install.py
drwxr-xr-x  6 root root 4096 10 juil. 19:28 setuptools
drwxr-xr-x  2 root root 4096 10 juil. 19:28 __pycache__
drwxr-xr-x  5 root root 4096 10 juil. 19:28 pkg_resources
drwxr-xr-x  2 root root 4096 10 juil. 19:28 setuptools-39.2.0.dist-info
drwxr-xr-x 11 root root 4096 10 juil. 19:28 pip
drwxr-xr-x  2 root root 4096 10 juil. 19:28 pip-9.0.3.dist-info
drwxr-xr-x  5 root root 4096 10 juil. 19:34 wheel
drwxr-xr-x  2 root root 4096 10 juil. 19:34 wheel-0.36.2.dist-info