pip Cheat Sheet/Check dependency health

Report broken or incompatible installed dependencies.

Section: Inspect and Verify

Check dependency health

bash
bash
python -m pip check
Explanation

Helpful after upgrading packages or mixing manual installs.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inspect and Verify
Freeze installed packages
Output pinned installed versions.
OpenIn sheetbashsame section
Inspect environment as JSON
Output structured JSON details for the environment.
OpenIn sheetbashsame section
List available versions
Show candidate versions for a package from the index.
OpenIn sheetbashsame section
Download without installing
Fetch distributions locally without modifying the environment.
OpenIn sheetbashsame section
Show pip version
Print the installed pip version and Python path.
Install a package
Install the latest version of a package.