-
Notifications
You must be signed in to change notification settings - Fork 62
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
nbclassic has no attribute base #128
Comments
@minrk Can you paste here the commands to reproduce the issue? |
Sure! Installing and enabling nbclassic in a clean env is enough: python3 -m venv /tmp/test-nbclassic
source /tmp/test-nbclassic/bin/activate
pip install nbclassic
jupyter server extension enable --sys-prefix nbclassic # workaround #127
jupyter server produces:
Importing nbclassic.bundler.handlers also fails:
pip freeze
|
Strangely, there's an additional error in the jupyterhub tests (what brought me here) that prevents load as well:
I'm not 100% sure what's different there, but #130 appears to fix it. |
Thx @minrk I have run those commands on my env and it works fine (was also working fine in my existing conda env). python3 -m venv /tmp/test-nbclassic
source /tmp/test-nbclassic/bin/activate
pip install nbclassic
jupyter server extension enable --sys-prefix nbclassic # workaround #127
jupyter server
open http://localhost:8888/tree It is true that there is a warning
|
FYI I had the same issue as well https://stackoverflow.com/questions/72883216/jupyterhub-fails-to-spawn-new-session-with-no-module-named-ipythonhandler when running the JupyterHub Docker image. My JupyterHub service stopped working after I rebuilt the container and I had to pin to version 0.3.7. |
@minrk @jongillham nbclassic 0.4.3 is released https://github.com/jupyter/nbclassic/releases/tag/v0.4.3 |
Linking nbclassic 0.4.2 fails with:
I believe is here.
I think there are some incomplete migrations bringing in legacy notebook things. The
bundler
extension also has a number of undefined names and imports that I don't think will work.The text was updated successfully, but these errors were encountered: