Last modified: Jun 23, 2025 By Alexander Williams
How to Uninstall IPython in Python
IPython is a powerful interactive shell for Python. But sometimes, you may need to uninstall it. This guide will show you how.
Table Of Contents
Why Uninstall IPython?
You might want to uninstall IPython for several reasons. Maybe you're switching to another tool. Or you need to free up space.
IPython is often installed with Jupyter tools. If you're removing Jupyter, check our guide on How to Uninstall JupyterLab.
Check If IPython Is Installed
Before uninstalling, verify if IPython is installed. Run this command in your terminal:
pip show ipython
If installed, you'll see package details. If not, you'll get a "not found" message.
Uninstall IPython Using pip
The easiest way to uninstall IPython is with pip. Follow these steps:
1. Open your command line or terminal.
2. Run the uninstall command:
pip uninstall ipython
3. Confirm the uninstallation when prompted.
This will remove IPython from your Python environment.
Uninstall IPython Using conda
If you used conda to install IPython, use this command instead:
conda remove ipython
Conda will show you what will be removed. Confirm to proceed.
Verify Uninstallation
After uninstalling, verify IPython is gone:
python -c "import IPython; print(IPython.__version__)"
You should see an error if IPython was removed successfully.
Troubleshooting
If you get permission errors, try adding --user
to the pip command:
pip uninstall ipython --user
For stubborn installations, you might need to force remove:
pip uninstall ipython -y
This skips the confirmation prompt.
Removing Related Packages
IPython often comes with other tools. You might want to remove them too.
For example, if you're cleaning up web tools, see our guide on How to Uninstall Selenium in Python.
Conclusion
Uninstalling IPython is simple with pip or conda. Always verify the removal was successful.
If you're cleaning your Python environment, you might also need to uninstall Jupyter Notebook.
Remember to check for any dependent packages that might need removal too.