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

student python packages can interfere with nbgrader #1842

Closed
clhedrick opened this issue Oct 25, 2023 · 4 comments
Closed

student python packages can interfere with nbgrader #1842

clhedrick opened this issue Oct 25, 2023 · 4 comments
Labels

Comments

@clhedrick
Copy link

Operating system

Ubuntu 22.03

nbgrader --version

Python version 3.11.3 (main, Apr 19 2023, 23:54:32) [GCC 11.2.0]
nbgrader version 0.8.4

jupyterhub --version (if used with JupyterHub)

3.1.1

jupyter lab --version

3.6.5

Expected behavior

Several students installed versions of sqlalchemy for use in their notebooks. This causes nbgrader to be unable to find their assignments. My interpretation of the error is that nbgrader tried to use their version of sqlalchemy, and it was missing an extension needed by nbgrader.

I would expect that the jupyter framework and nbgrader would use python paths that don't include anything in the user's home directory. I tried to modify code to do this, but was unable to find a place that fixed the problem.

@lahwaacz
Copy link
Contributor

What is the actual error you observed?

@clhedrick
Copy link
Author

clhedrick commented Oct 25, 2023 via email

@brichet brichet added the bug label Mar 25, 2024
@shreve
Copy link
Contributor

shreve commented Jul 3, 2024

This ImportError based on a regression that shipped in 0.8.4, but is now fixed in 0.8.5: 7079e6a

@brichet
Copy link
Contributor

brichet commented Jul 5, 2024

Seems to be solved, thanks @shreve for the update.

Feel free to reopen it if the issue is still relevant.

@brichet brichet closed this as completed Jul 5, 2024
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

4 participants