Jupyter_contrib_nbextensions: how to completely uninstall nbextensions ?

Created on 18 Jun 2017  Â·  12Comments  Â·  Source: ipython-contrib/jupyter_contrib_nbextensions

I tried
% jupyter contrib nbextension uninstall
and indeed many files were removed but nbextensions config is still present in Edit menu so the uninstall was uncomplete.

install question

Most helpful comment

Summary

I install with
% pip install jupyter_contrib_nbextensions
% jupyter contrib nbextension install --user

I uninstall with
% jupyter contrib nbextension uninstall --user
% pip uninstall jupyter_contrib_nbextensions

One step more is needed to remove the configurator
% jupyter nbextensions_configurator disable

This solves the problem, thanks.

All 12 comments

What does jupyter nbextension list ouput ?

% jupyter nbextensions list

Error executing Jupyter command 'nbextensions': [Errno 2] No such file or directory

% jupyter nbextensions

Error executing Jupyter command 'nbextensions': [Errno 2] No such file or directory

although

http://localhost:8888/nbextensions/?nbextension=nbextensions_configurator/config_menu/main

is still active, even after restarting jupyter notebook and Firefox and clearing cache.

May be

pip uninstall jupyter_nbextensions_configurator

On Mon, Jun 19, 2017 at 7:21 AM, palbarede notifications@github.com wrote:

% jupyter nbextensions list

Error executing Jupyter command 'nbextensions': [Errno 2] No such file or
directory

% jupyter nbextensions

Error executing Jupyter command 'nbextensions': [Errno 2] No such file or
directory

although

http://localhost:8888/nbextensions/?nbextension=nbextensions_configurator/
config_menu/main

is still active, even after restarting jupyter notebook and Firefox and
clearing cache.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1012#issuecomment-309341332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHPpRF8CY2iPpGXTAlHR7INzXVC3ekImks5sFgVZgaJpZM4N9mvD
.

Sorry, should have been without the s:

% jupyter nbextension list

This is a built in command from Jupyter.

Hello, I have reinstalled completely anaconda, which eliminates the problem. Nevertheless, we certainly need a clean uninstall.

Hi, apologies for the inconvenience this has caused you. Essentially this stems from the fact that the config item in the edit menu is provided by the jupyter_nbextensions_configurator, which is a dependency, rather than part of this repo. The jupyter contrib nbextension uninstall command doesn't uninstall the configurator, since it's a dependency & might have existed before the others were installed. For future reference, you should be able to disable all the configurator bits using

jupyter nbextensions_configurator disable

Of course, you may also want to

conda remove jupyter_nbextensions_configurator

Or
pip uninstall jupyter_nbextensions_configurator

as appropriate, if you also want to remove the configurator python package

Summary

I install with
% pip install jupyter_contrib_nbextensions
% jupyter contrib nbextension install --user

I uninstall with
% jupyter contrib nbextension uninstall --user
% pip uninstall jupyter_contrib_nbextensions

One step more is needed to remove the configurator
% jupyter nbextensions_configurator disable

This solves the problem, thanks.

One step more is needed to remove the configurator
% jupyter nbextensions_configurator disable

Exactly :smile: perhaps we should add a line to docs somewhere to note this - any PRs welcome!

This solves the problem, thanks.

Glad you got it sorted!

Also try jupyter nbextension disable <nbextension require path>
jupyter nbextension disable codefolding/main

In my case, jupyter nbextension did something wrong as Mr arbazkiraak said
Removing nbextension made the things go well

May be pip uninstall jupyter_nbextensions_configurator
…
On Mon, Jun 19, 2017 at 7:21 AM, palbarede @.*> wrote: % jupyter nbextensions list Error executing Jupyter command 'nbextensions': [Errno 2] No such file or directory % jupyter nbextensions Error executing Jupyter command 'nbextensions': [Errno 2] No such file or directory although http://localhost:8888/nbextensions/?nbextension=nbextensions_configurator/ config_menu/main is still active, even after restarting jupyter notebook and Firefox and clearing cache. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1012 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AHPpRF8CY2iPpGXTAlHR7INzXVC3ekImks5sFgVZgaJpZM4N9mvD .

This Works.

The command jupyter contrib nbextension uninstall --user is not recognized anymore. It outputs the following:

jupyter-contrib: error: argument --user: expected one argument
Was this page helpful?
0 / 5 - 0 ratings