I successfully installed the extension and jupyter lab links it, however, it can not load the extension and I get the following error when starting jupyter Lab:
notebook_intelligence | error adding extension (enabled: True): The module 'notebook_intelligence' could not be found (cannot import name 'Distribution' from 'importlib_metadata' (unknown location)). Are you sure the extension is installed?
Traceback (most recent call last):
File "/home/grosselindemann/miniconda3/lib/python3.13/site-packages/jupyter_server/extension/manager.py", line 365, in add_extension
extpkg = ExtensionPackage(name=extension_name, enabled=enabled)
File "/home/grosselindemann/miniconda3/lib/python3.13/site-packages/jupyter_server/extension/manager.py", line 219, in __init__
self._load_metadata()
~~~~~~~~~~~~~~~~~~~^^
File "/home/grosselindemann/miniconda3/lib/python3.13/site-packages/jupyter_server/extension/manager.py", line 234, in _load_metadata
raise ExtensionModuleNotFound(msg) from None
jupyter_server.extension.utils.ExtensionModuleNotFound: The module 'notebook_intelligence' could not be found (cannot import name 'Distribution' from 'importlib_metadata' (unknown location)). Are you sure the extension is installed?
jupyter lab extension list gives a similar error
notebook_intelligence enabled
- Validating notebook_intelligence...
X The module 'notebook_intelligence' could not be found (cannot import name 'Distribution' from 'importlib_metadata' (unknown location)). Are you sure the extension is installed?
Do you have an idea why this appears? Is this dependant on some package versions? I think everything is up to date.
Thank you, I would really like to try your extension!
I successfully installed the extension and jupyter lab links it, however, it can not load the extension and I get the following error when starting jupyter Lab:
Do you have an idea why this appears? Is this dependant on some package versions? I think everything is up to date.
Thank you, I would really like to try your extension!