pip-uninstall
Remove installed Python packages
TLDR
SYNOPSIS
pip uninstall [options] package...pip uninstall [options] -r requirements-file...
DESCRIPTION
pip uninstall removes installed Python packages. It prompts for confirmation before removing each package unless `-y` is used.Pip removes the package files, entry-point scripts, and metadata, but does not automatically remove dependencies that were installed alongside the package. Packages installed in "editable" mode (`pip install -e`) and those installed directly from VCS URLs can also be removed by name.Packages installed by the system package manager (e.g., `apt`, `dnf`) or those installed without using pip's metadata cannot be uninstalled by pip.
PARAMETERS
-r FILE, --requirement FILE
Uninstall all packages listed in the given requirements file. May be used multiple times.-y, --yes
Don't ask for confirmation of uninstall deletions.--root-user-action ACTION
Action when pip is run as root (warn, ignore).--no-input
Disable prompting for input.-v, --verbose
Give more output. Repeatable.-q, --quiet
Give less output.
CAVEATS
Running `pip uninstall` as root on system Python can break the operating system; prefer a virtual environment or `--user` installs. Dependencies are never auto-removed, so orphan packages may remain after uninstalling a top-level package. Use `pip list` or `pip-autoremove` to find orphans.
SEE ALSO
pip(1), pip-install(1), pip3(1), pipx(1)
