Uninstall Jupyter from a Python environment

jupyter

Updated August 29, 2026

Remove Jupyter from the same environment in which it was installed. Check the active interpreter first:

python -c "import sys; print(sys.executable)"
python -m pip show jupyterlab notebook

With pip, uninstall only the packages you intend to remove:

python -m pip uninstall jupyterlab notebook

The metapackages may have installed shared dependencies such as jupyter-server, ipykernel, or nbconvert; pip will not necessarily remove every unused dependency. Review the list before confirming. With conda, use conda list and remove packages through the active environment's conda workflow.

Close running notebook servers before removal. Do not delete the whole Python installation or a project environment just to remove Jupyter; deleting an environment also removes unrelated dependencies. Afterward, a shell may still find another global jupyter executable, so verify with command -v jupyter and python -m jupyter --version.

Sources

related.

Ruslan Osipov

Ruslan Osipov

About the author