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

how to completely uninstall nbextensions ? #1012

Closed
palbarede opened this issue Jun 18, 2017 · 16 comments
Closed

how to completely uninstall nbextensions ? #1012

palbarede opened this issue Jun 18, 2017 · 16 comments

Comments

@palbarede
Copy link

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.

@juhasch
Copy link
Member

juhasch commented Jun 18, 2017

What does jupyter nbextension list ouput ?

@palbarede
Copy link
Author

% 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.

@jfbercher
Copy link
Member

jfbercher commented Jun 19, 2017 via email

@juhasch
Copy link
Member

juhasch commented Jun 19, 2017

Sorry, should have been without the s:

% jupyter nbextension list

This is a built in command from Jupyter.

@palbarede
Copy link
Author

palbarede commented Jun 19, 2017

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

@jcb91
Copy link
Member

jcb91 commented Jun 19, 2017

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

@palbarede
Copy link
Author

palbarede commented Jun 19, 2017

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.

@jcb91
Copy link
Member

jcb91 commented Aug 31, 2017

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

Exactly 😄 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!

@jcb91 jcb91 closed this as completed Aug 31, 2017
@arbazkiraak
Copy link

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

@tadahayamiz
Copy link

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

@ssahaxd
Copy link

ssahaxd commented Jul 15, 2019

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.

@ch3rn0v
Copy link

ch3rn0v commented Oct 6, 2020

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

jupyter-contrib: error: argument --user: expected one argument

@abzhaobo
Copy link

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

jupyter-contrib: error: argument --user: expected one argument

I had the same error message, but it was solved by doing the whole install --> uninstall --> disable procedure.

@JettTeixeira
Copy link

dont work for me. Same error allways.

@alfarouq02
Copy link

Toujours meme probleme je vois pas l'onglet

@d-kleine
Copy link

You can also just disable the user configuration:
jupyter nbextensions_configurator disable --user

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

No branches or pull requests