Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nbextension has duplicate listings #134

Open
malapradej opened this issue May 14, 2021 · 2 comments
Open

nbextension has duplicate listings #134

malapradej opened this issue May 14, 2021 · 2 comments

Comments

@malapradej
Copy link

malapradej commented May 14, 2021

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.

@JH-Lam
Copy link

JH-Lam commented Apr 16, 2023

same issue in Mac .did you solve it ?

@russtoku
Copy link

russtoku commented Nov 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants