Libraries installed in this environment are immediately available to all users. Admin users can install packages in this environment with sudo -E.

  1. Log in as an admin user and open a Terminal in your Jupyter Notebook.

  2. Install the package

    sudo -E pip install <package-name>

    The sudo -E is very important!

  3. The package will be 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.

⚠️ Warning: This will install packages for all users on JupyterHub, therefore, it is recommended to test the package by installing on a user’s own instance first by simply using:

pip install <package-name>