Print pip environment diagnostics.
Section: Dependency debugging
Show pip debug info
bash
bash
python -m pip debugExplanation
Helpful when debugging platform tags, config, or install behavior.
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 Dependency debugging
Show package install location
Display metadata and install location for a package.
Print imported package version
Check the version of an imported module at runtime.
Install a requirements file
Install project dependencies from requirements.txt.
Editable install of current project
Install the current project in editable mode.