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.
pip uninstall [options] <package> ... 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.
The man pages pip-3.9-uninstall(1), pip3.9-uninstall(1), pip-3-uninstall(1) and pip3-uninstall(1) are aliases of pip-uninstall(1).