Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install nbgrader when using jupyterhub with DockerSpawner? #1887

Open
ovasty opened this issue May 25, 2024 · 1 comment
Open

How to install nbgrader when using jupyterhub with DockerSpawner? #1887

ovasty opened this issue May 25, 2024 · 1 comment
Labels

Comments

@ovasty
Copy link

ovasty commented May 25, 2024

Operating system

CentOS 7.9

nbgrader --version

0.9.2

jupyterhub --version (if used with JupyterHub)

5.0.0

jupyter notebook --version

7.2.0

Expected behavior

Install nbgrader for JupyterHub with DockerSpawner (Docker image is JupyterLab)

Actual behavior

Don't know how to install it.

  1. Under Jupyterhub server, what should be installed?
  2. In the JupyterLab image, what should be installed?
  3. How to config nbgrader for the two environments?

Steps to reproduce the behavior

@shreve
Copy link
Contributor

shreve commented Jul 3, 2024

  1. Your JupyterHub server doesn't need nbgrader. It will likely need some config to make sure that it launches Jupyter singleuser servers have access to the exchange directory.
  2. Your JupyterLab (singleuser) server will need the nbgrader package (e.g. pip install nbgrader) and access to the exchange directory.
  3. Both servers will need an nbgrader_config.py file with appropriate config based on your setup.

Here are some docs you'll hopefully find helpful:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants