Install conda & jupyterlab explicitly

conda was not installed in the user environment explicitly,
so users can't install conda packages themselves.

Also install JupyterLab while we're at it :)
This commit is contained in:
yuvipanda
2018-06-27 18:05:20 -07:00
parent 1a4cf5673b
commit 8a19b02864

View File

@@ -67,7 +67,9 @@ with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
conda.ensure_conda_env(USER_ENV_PREFIX)
conda.ensure_conda_packages(USER_ENV_PREFIX, [
'jupyterhub==0.9.0',
'notebook==5.5.0'
'notebook==5.5.0',
'jupyterlab==0.32.1',
'conda==4.5.4'
])
systemd.reload_daemon()
systemd.start_service('configurable-http-proxy')