pip-uninstall - Man Page

description of pip uninstall command

Examples (TL;DR)

Description

Uninstall packages.

pip is able to uninstall most installed packages. Known exceptions are:

Usage

python -m pip uninstall [options] <package> ...
python -m pip uninstall [options] -r <requirements file> ...

Options

-r,  --requirement <file>

Uninstall all the packages listed in the given requirements file.  This option can be used multiple times.

(environment variable: PIP_REQUIREMENT)

-y,  --yes

Don't ask for confirmation of uninstall deletions.

(environment variable: PIP_YES)

--root-user-action <root_user_action>

Action if pip is run as a root user [warn, ignore] (default: warn)

(environment variable: PIP_ROOT_USER_ACTION)

--break-system-packages

Allow pip to modify an EXTERNALLY-MANAGED Python installation

(environment variable: PIP_BREAK_SYSTEM_PACKAGES)

Author

pip developers

Referenced By

pip(1).

The man pages pip-3.13-uninstall(1), pip3.13-uninstall(1), pip-3-uninstall(1) and pip3-uninstall(1) are aliases of pip-uninstall(1).

Sep 06, 2024 24.2 pip