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

Incompatibility with notebook package #1834

Open
bencleary opened this issue Aug 23, 2023 · 5 comments
Open

Incompatibility with notebook package #1834

bencleary opened this issue Aug 23, 2023 · 5 comments

Comments

@bencleary
Copy link

The current implementation of shell_plus results in an import error ImportError: No module named notebook.notebookapp. This is because the notebook package API has changed so much that the import expected in line 281 of shell_plus.py expects the old package structure.

To rectify this i had to manually specify versions of the notebook, which means i loose out on other features. Happy to do the work if someone can review!

Initial thoughts are to either check the version of the package or just try catch the import and try either the new or old import styles.

@chbroecker
Copy link

Specifically it is python manage.py shell_plus --notebook that is failing with the above error. python manage.py shell_plus --lab is still working as far as I can tell.

@jvacek
Copy link

jvacek commented Aug 25, 2023

To rectify this i had to manually specify versions of the notebook

Which version works for you?

@aa403
Copy link

aa403 commented Sep 4, 2023

same issue here ... please help !

more details of my specific setup here: #1835 (comment)

@haard
Copy link

haard commented Dec 8, 2023

To rectify this i had to manually specify versions of the notebook

Which version works for you?

Not OP, but 6.x.x versions of notebook seems to WorkForMe with --notebook

@em1208
Copy link

em1208 commented Feb 28, 2024

Same problem. I resorted to use notebook version 6.5.3.

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

No branches or pull requests

6 participants