Hello!
First thanks to all contributors for maintaining this project.
I successfully installed TLJH on my server following the official documentation. While enabling extensions for all users as per this guide, I encountered the following issue when running:
sudo -E jupyter contrib nbextension install --sys-prefix
error
sudo -E jupyter contrib nbextension install --sys-prefix
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in <module>
from notebook.extensions import BaseExtensionApp
ModuleNotFoundError: No module named 'notebook.extensions'
After some research, I downgraded Jupyter Notebook to 6.4.12, which resolved the error. However, after restarting, the notebook UI does not display any indication that the extensions(spellchecker,scratchpad in the example etc) are available.
System Details:
- JupyterHub: 5.2.1
- Jupyter Notebook: 6.4.12
jupyter --version
Selected Jupyter core packages...
IPython : 9.0.2
ipykernel : 6.29.5
ipywidgets : not installed
jupyter_client : 8.6.3
jupyter_core : 5.7.2
jupyter_server : not installed
jupyterlab : not installed
nbclient : 0.10.2
nbconvert : 7.16.6
nbformat : 5.10.4
notebook : 6.4.12
qtconsole : not installed
traitlets : 5.14.3
sudo -E jupyter nbextension list
Out put
Known nbextensions:
config dir: /usr/etc/jupyter/nbconfig
notebook section
contrib_nbextensions_help_item/main enabled
- Validating: OK
hinterland/main enabled
- Validating: problems found:
- require? X hinterland/main
scratchpad/main enabled
- Validating: OK
jupyterlab-lsp/main disabled
codefolding/main enabled
- Validating: OK
spellchecker/main enabled
- Validating: OK
tree section
nbextensions_configurator/tree_tab/main enabled
- Validating: problems found:
- require? X nbextensions_configurator/tree_tab/main
config dir: /usr/local/etc/jupyter/nbconfig
notebook section
nbextensions_configurator/config_menu/main enabled
- Validating: problems found:
- require? X nbextensions_configurator/config_menu/main
tree section
nbextensions_configurator/tree_tab/main enabled
- Validating: problems found:
- require? X nbextensions_configurator/tree_tab/main
Note: The X are due to my unsuccessful attemps to install nbextensions_configurator
Would be very appreciated if anyone could offer some hints or troubleshooting guidance, thanks.