ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.24k stars 807 forks source link

Error [jupyter_nbextensions_configurator] error loading toggle_all_line_numbers/mainf #1637

Open monk123456789 opened 1 year ago

monk123456789 commented 1 year ago

23-04-26_02-27-08

i run debain on docker, install jupyter and jupyter_nbextensions, when i config jupyter_nbextensions, this error happen, i think it's path problem, help me how to make it work, thanks

pip 20.3.4 from /usr/lib/python3/dist-packages/pip (python 3.9) /usr/bin/pip

Python 3.9.2 (default, Feb 28 2021, 17:03:44) /usr/bin/python3

IPython : 8.12.0 ipykernel : 6.22.0 ipywidgets : not installed jupyter_client : 8.2.0 jupyter_core : 5.3.0 jupyter_server : 2.5.0 jupyterlab : not installed nbclient : 0.7.3 nbconvert : 7.3.1 nbformat : 5.8.0 notebook : 6.5.4 qtconsole : not installed traitlets : 5.9.0 /usr/local/bin/jupyter

and there print some loger:

[W 18:26:27.288 NotebookApp] 404 DELETE /api/sessions/8ff46efd-94dc-4d02-a8b4-c2d649149df0 (192.168.88.200): Session not found: session_id='8ff46efd-94dc-4d02-a8b4-c2d649149df0' [W 18:26:27.289 NotebookApp] Session not found: session_id='8ff46efd-94dc-4d02-a8b4-c2d649149df0' [W 18:26:27.291 NotebookApp] 404 DELETE /api/sessions/8ff46efd-94dc-4d02-a8b4-c2d649149df0 (192.168.88.200) 7.890000ms referer=http://192.168.88.201:8888/notebooks/jupyterNote/test/Untitled.ipynb [I 18:29:34.245 NotebookApp] Starting buffering for d5d8d70d-b104-4890-8892-32b6cbc7ce14:6da9dbccd82e4f9eaa1aa999edd026cd [W 18:29:35.127 NotebookApp] 404 GET /notebooks/jupyterNote/test/latexdefs.tex (192.168.88.200): file or directory does not exist: 'jupyterNote/test/latexdefs.tex' [W 18:29:35.138 NotebookApp] 404 GET /notebooks/jupyterNote/test/latexdefs.tex (192.168.88.200) 13.770000ms referer=http://192.168.88.201:8888/notebooks/jupyterNote/test/Untitled.ipynb [W 18:29:35.235 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20230425181010 (192.168.88.200) 14.840000ms referer=http://192.168.88.201:8888/notebooks/jupyterNote/test/Untitled.ipynb

FlyChary commented 3 months ago

解决方案: 回退 jupyter_nbextensions_configurator 的版本到 0.6.2

错误信息3