Uninstall In addition to pip uninstall nbsafety, it is also necessaryto deregister the kernel from Jupyter for a full uninstall(as well as the extension from JupyterLab, if using JupyterLab): jupyter kernelspec uninstall nbsafetyjupyter labextension uninstall jupyterlab-nbsafety