extension-cookiecutter-ts icon indicating copy to clipboard operation
extension-cookiecutter-ts copied to clipboard

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

Open dou-du opened this issue 4 years ago • 4 comments

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.

dou-du avatar Jan 18 '21 16:01 dou-du

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.

jasongrout avatar Jan 19 '21 07:01 jasongrout

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.

dou-du avatar Jan 19 '21 11:01 dou-du

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 avatar Oct 24 '22 17:10 savakarrohan

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

savakarrohan avatar Oct 25 '22 05:10 savakarrohan