Jupyter-contrib / jupyter_nbextensions_configurator

A jupyter notebook serverextension providing config interfaces for nbextensions.
Other
981 stars 121 forks source link

jupyter_nbextensions_configurator is not compatible with notebook 7.0.0 #165

Closed alaabhs closed 1 year ago

alaabhs commented 1 year ago

I have this exception when i run jupyter nbextensions_configurator enable --sys-prefix

Traceback (most recent call last):
  File "/home/alaa/code/test_env/test/bin/jupyter-nbextensions_configurator", line 5, in <module>
    from jupyter_nbextensions_configurator.application import main
  File "/home/alaa/code/test_env/test/lib/python3.10/site-packages/jupyter_nbextensions_configurator/__init__.py", line 18, in <module>
    from notebook.base.handlers import APIHandler, IPythonHandler
ModuleNotFoundError: No module named 'notebook.base'
mfouesneau commented 1 year ago

Same issue.

davidfraser commented 1 year ago

Would it be possible to update the metadata for juypter-nbextensions-configurator to indicate that it currently requires notebook < 7.0?

WesleyTheGeolien commented 10 months ago

Running the latest main this still did not seem to be working.

It appears it can be fixed by calling the nbclassic.shim_notebook for notebook>7 this should be addressed in #171