You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/tljh/user/bin/jupyter-contrib", line 8, in <module>
sys.exit(main())
File "/opt/tljh/user/lib/python3.10/site-packages/jupyter_core/application.py", line 285, in launch_instance
return super().launch_instance(argv=argv, **kwargs)
File "/opt/tljh/user/lib/python3.10/site-packages/traitlets/config/application.py", line 1044, in launch_instance
app = cls.instance(**kwargs)
File "/opt/tljh/user/lib/python3.10/site-packages/traitlets/config/configurable.py", line 555, in instance
inst = cls(*args, **kwargs)
File "/opt/tljh/user/lib/python3.10/site-packages/jupyter_contrib_core/application.py", line 27, in __init__
self._refresh_subcommands()
File "/opt/tljh/user/lib/python3.10/site-packages/jupyter_contrib_core/application.py", line 43, in _refresh_subcommands
get_subcommands_dict = entrypoint.load()
File "/opt/tljh/user/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2471, in load
return self.resolve()
File "/opt/tljh/user/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2477, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/tljh/user/lib/python3.10/site-packages/jupyter_contrib_nbextensions/__init__.py", line 5, in <module>
import jupyter_nbextensions_configurator
File "/opt/tljh/user/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'
Expected behaviour
That the instructions work.
Actual behaviour
Error: "ModuleNotFoundError: No module named 'notebook.base'"
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Bug description
Following the documentation for "Enabling Jupyter Notebook extensions" fails.
How to reproduce
su - jupyter-admin -s /bin/bash
source /opt/tljh/user/bin/activate
sudo -E pip install jupyter_contrib_nbextensions
sudo -E jupyter contrib nbextension install --sys-prefix
Error:
Expected behaviour
That the instructions work.
Actual behaviour
Error: "ModuleNotFoundError: No module named 'notebook.base'"
Your personal set up
OS:
Ubuntu: 22.04.3 LTS
Version(s):
jupyterhub: 4.0.2
python: 3.10.10
Full environment
Configuration
Logs
The text was updated successfully, but these errors were encountered: