jupyter_nbextensions_configurator icon indicating copy to clipboard operation
jupyter_nbextensions_configurator copied to clipboard

nbextension has duplicate listings

Open malapradej opened this issue 3 years ago • 2 comments

I get the following warnings when opening a jupyter notebook --no-browser session on our server, the moment I click on the http link to open it on my local browser. (note this is not a duplicate)

[W 06:15:24.070 NotebookApp] [jupyter_nbextensions_configurator] nbextension 'addbefore/main' has duplicate listings in both '/usr/local/share/jupyter/nbextensions/addbefore/addbefore.yaml' and '/home/jacques.malaprade/anaconda3/share/jupyter/nbextensions/addbefore/addbefore.yaml' [W 06:15:24.071 NotebookApp] [jupyter_nbextensions_configurator] nbextension 'autosavetime/main' has duplicate listings in both '/usr/local/share/jupyter/nbextensions/autosavetime/autosavetime.yaml' and '/home/jacques.malaprade/anaconda3/share/jupyter/nbextensions/autosavetime/autosavetime.yaml' etc.....

There are other issue pages the deal with this by requiring the local or system-wide installation to be removed using jupyter contrib nbextensions uninstall --system or jupyter contrib nbextensions uninstall --user. I would rather use the user install but have no permissions to uninstall the system install. Is there a way to get around this? ie. only use the user install without having to uninstall the system install.

malapradej avatar May 14 '21 06:05 malapradej

same issue in Mac .did you solve it ?

JH-Lam avatar Apr 16 '23 03:04 JH-Lam

This is rather late but I hope it helps. I had the same trouble on MacOS.

According to the jupyter_contrib_nbextensions docs about Conda installation, you don't need to run jupyter contrib nbextensions install or some variation of it.

I didn't read the installation docs before installing the nbextensions so I ended up with the duplicate listings warnings. To fix the problem, I removed the /usr/local/share/jupyter directory because it is duplicating the share/jupyter/nbextensions directory in the Conda/Anaconda environment.

russtoku avatar Nov 06 '23 18:11 russtoku