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

cannot import name 'version_info' from 'notebook'。My notebook version is 7.0.8, and suddenly my Jupyter Notebook has encountered some issues. #7272

Closed
tsfTSF7 opened this issue Feb 24, 2024 · 2 comments · Fixed by #7273
Labels
bug status:Needs Triage Applied to issues that need triage

Comments

@tsfTSF7
Copy link

tsfTSF7 commented Feb 24, 2024

jupyter_nbextensions_configurator | error adding extension (enabled: True): The module 'jupyter_nbextensions_configurator' could not be found (cannot import name 'version_info' from 'notebook' (D:\Anaconda\Lib\site-packages\notebook_init_.py)). Are you sure the extension is installed?

@tsfTSF7 tsfTSF7 added bug status:Needs Triage Applied to issues that need triage labels Feb 24, 2024
@tsfTSF7
Copy link
Author

tsfTSF7 commented Feb 24, 2024

Does Jupyter Notebook update automatically?

@jtpio
Copy link
Member

jtpio commented Feb 25, 2024

cannot import name 'version_info' from 'notebook'

This should be fixed by #7273

Does Jupyter Notebook update automatically?

It really depends on how the notebook package is installed. If you install notebook with pip install notebook in a virtual environment and then don't run any update command, then it should not update automatically.

However some installations (based Linux distributions for example) might indeed do it for you when updating the system as a whole.

jupyter_nbextensions_configurator | error adding extension (enabled: True): The module 'jupyter_nbextensions_configurator' could not be found (cannot import name 'version_info' from 'notebook' (D:\Anaconda\Lib\site-packages\notebook__init__.py)). Are you sure the extension is installed?

It looks like you were using the classic notebook before. If so you may want to have a look at the migration guide to help you decide whether you still need jupyter_nbextensions_configurator or not: https://jupyter-notebook.readthedocs.io/en/stable/migrate_to_notebook7.html
The migration guide provides some information for running the old classic notebook UI if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants