mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
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:
@@ -67,7 +67,9 @@ with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
|
|||||||
conda.ensure_conda_env(USER_ENV_PREFIX)
|
conda.ensure_conda_env(USER_ENV_PREFIX)
|
||||||
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
conda.ensure_conda_packages(USER_ENV_PREFIX, [
|
||||||
'jupyterhub==0.9.0',
|
'jupyterhub==0.9.0',
|
||||||
'notebook==5.5.0'
|
'notebook==5.5.0',
|
||||||
|
'jupyterlab==0.32.1',
|
||||||
|
'conda==4.5.4'
|
||||||
])
|
])
|
||||||
systemd.reload_daemon()
|
systemd.reload_daemon()
|
||||||
systemd.start_service('configurable-http-proxy')
|
systemd.start_service('configurable-http-proxy')
|
||||||
|
|||||||
Reference in New Issue
Block a user