Last modified: Jun 23, 2025 By Alexander Williams

How to Uninstall Jupyter Notebook

Jupyter Notebook is a popular tool for data science and Python development. Sometimes, you may need to uninstall it. This guide will help you remove it properly.

Why Uninstall Jupyter Notebook?

You might want to uninstall Jupyter Notebook for several reasons. Maybe you're switching to JupyterLab or another IDE. Or perhaps you need a clean install.

Whatever the reason, follow these steps to remove it completely.

Uninstall Using pip

If you installed Jupyter Notebook with pip, use this command:


pip uninstall jupyter notebook

This will remove the main package. But Jupyter has many dependencies. You might want to remove them too.

To see all installed Jupyter packages, run:


pip list | grep jupyter

Then uninstall each one separately. This ensures a clean removal.

Uninstall Using conda

If you used conda to install Jupyter Notebook, run:


conda remove jupyter notebook

Conda will show you what packages will be removed. Confirm the action if you're sure.

For a complete cleanup, remove all Jupyter-related packages:


conda remove --all jupyter*

Manual Removal (Advanced)

Sometimes, files remain after uninstallation. You might need to remove them manually.

Important: Be careful when deleting files manually. Don't remove system files.

Check these common locations for leftover files:

  • Configuration files: ~/.jupyter
  • Runtime files: ~/.local/share/jupyter
  • Cache files: ~/.cache/jupyter

Delete these folders if they exist. This will remove all personal settings.

Verify Uninstallation

After uninstalling, verify Jupyter is gone. Try running:


jupyter notebook

You should see an error like "command not found". This means it's uninstalled.

Reinstalling Jupyter Notebook

If you need to reinstall later, use:


pip install notebook

Or with conda:


conda install jupyter notebook

Troubleshooting

If you face issues, try these steps:

  1. Restart your terminal or IDE
  2. Check your PATH environment variable
  3. Look for multiple Python installations

For similar guides, see How to Uninstall Flask in Python or How to Uninstall Django in Python.

Conclusion

Uninstalling Jupyter Notebook is simple with pip or conda. For a complete removal, check for leftover files. Always verify the uninstallation was successful.

Need to remove other Python packages? Check our guide on How to Uninstall Requests in Python.