Uninstall Python packages.
Uninstall a package
Uninstall packages listed in a specific file
Uninstall package without asking for confirmation
pip is able to uninstall most installed packages. Known exceptions are:
Pure distutils packages installed with python setup.py install, which leave behind no metadata to determine what files were installed.
Script wrappers installed by python setup.py develop.
python -m pip uninstall [options] <package> ... python -m pip uninstall [options] -r <requirements file> ...
- -r, --requirement <file>
Uninstall all the packages listed in the given requirements file. This option can be used multiple times.
- -y, --yes
Don't ask for confirmation of uninstall deletions.
Did this article help?
We are currently doing research to improve pip's documentation and would love your feedback. Please email us and let us know:
What problem were you trying to solve when you came to this page?
What content was useful?
What content was not useful?