Jupyter-contrib / jupyter_nbextensions_configurator

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

Can not load extension's configuration list #161

Open SDaoer opened 1 year ago

SDaoer commented 1 year ago

Here is the problem I got: image

However, the nbextension works well. So i guess it's caused by jupyter_nbextensions_configurator. I think it is caused by duplicated item in its loading path, according to the only infomation displayed: [jupyter_nbextensions_configurator] error loading hinterland/hinterland. The right path should be nbextensions/hinterland I guess.

Then I searched it: grep -r "error loading" ./static/nbextensions_configurator/main.js: var msg = log_prefix + ' error loading ' + extension.require;

How could I fix this problem?

csevast commented 12 months ago

I have the same problem and cannot find a solution.

Windows 11, conda distribution, using conda environment.

>jupyter --version
Selected Jupyter core packages...
IPython          : 8.18.1
ipykernel        : 6.26.0
ipywidgets       : 8.1.1
jupyter_client   : 7.4.9
jupyter_core     : 5.5.0
jupyter_server   : 2.11.1
jupyterlab       : not installed
nbclient         : 0.8.0
nbconvert        : 7.11.0
nbformat         : 5.9.2
notebook         : 6.5.6
qtconsole        : not installed
traitlets        : 5.14.0

>conda list jupyter
jupyter_client            7.4.9              pyhd8ed1ab_0    conda-forge
jupyter_contrib_core      0.4.0              pyhd8ed1ab_0    conda-forge
jupyter_contrib_nbextensions 0.7.0              pyhd8ed1ab_0    conda-forge
jupyter_core              5.5.0           py311h1ea47a8_0    conda-forge
jupyter_events            0.9.0              pyhd8ed1ab_0    conda-forge
jupyter_highlight_selected_word 0.2.0           pyhd8ed1ab_1006    conda-forge
jupyter_latex_envs        1.4.6           pyhd8ed1ab_1002    conda-forge
jupyter_nbextensions_configurator 0.6.1              pyhd8ed1ab_0    conda-forge
jupyter_server            2.11.1             pyhd8ed1ab_0    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyterlab_pygments       0.3.0              pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        3.0.9              pyhd8ed1ab_0    conda-forge

>python --version
Python 3.11.6
MKLinux22 commented 9 months ago

Hi All,

struggeled with the same issue today. It was not a good idea to install nbextensions with conda conda install -c conda-forge jupyter_nbextensions_configurator because this conda-forge is using older version of jupyter-nbextensions-configurator (0.6.1), which is causing this issue.

The issue can be fixed, by using Anaconda Prompt and install newer version of jupyter-nbextensions-configurator: pip install jupyter-nbextensions-configurator==0.6.3