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

Cannot uninstall by "jupyter labextension uninstall " and "pip uninstall" #135

Open
dou-du opened this issue Jan 18, 2021 · 4 comments
Open

Comments

@dou-du
Copy link

dou-du commented Jan 18, 2021

When I develop the extension and install it by:

jupyter labextension develop --overwrite .

I cannot uninstall by neither "pip uninstall" and "jupyter labextension uninstall".
When I try "jupyter labextension uninstall" it gave the error:

JupyterLab cannot uninstall jupyterlab-hide-code since it was installed outside of JupyterLab. Use the same method used to install this extension to uninstall this extension.
@jasongrout
Copy link
Contributor

jasongrout commented Jan 19, 2021

And what does pip uninstall do?

It may be that you'll need to delete the symbolic link jupyter labextension develop creates directly (at share/jupyter/labextensions/your-extension-name)

Perhaps there should be a corresponding develop command to delete a symbolic link.

@dou-du
Copy link
Author

dou-du commented Jan 19, 2021

And what does pip uninstall do?

It may be that you'll need to delete the symbolic link jupyter labextension develop creates directly (at share/jupyter/labextensions/your-extension-name)

Perhaps there should be a corresponding develop command to delete a symbolic link.

Thanks. The pip uninstall only the python package. Yes, it will be nice to have a command to delete the symbolic link.

@savakarrohan
Copy link

Where is this share/jupyter/labextension/your-extension-name folder typically located? @dou-du

In my particular case I couldn't even disable my extension.

@savakarrohan
Copy link

Ahhh yes, I realised the share folder is the current installation path of the jupyter package,
In my case it was under conda

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

4 participants