mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
1017 B
1017 B
The User Environment is a conda environment that is shared by all users
in the JupyterHub. Libraries installed in this environment are immediately
available to all users. Admin users can install packages in this environment
with sudo -E.
-
Log in as an admin user and open a Terminal in your Jupyter Notebook.
:alt: New Terminal button under New menu -
Install gdal from conda-forge.
sudo -E conda install -c conda-forge gdalThe
sudo -Eis very important! -
Install there with
pipsudo -E pip install there
The packages gdal and there are now available to all users in JupyterHub.
If a user already had a python notebook running, they have to restart their notebook's
kernel to make the new libraries available.