jupyterlab/extension-cookiecutter-ts

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

dou-du opened this issue · 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.

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.

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.

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.

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