Print environment and compatibility diagnostics.

Section: Debugging, Network, and Resolver

Show pip debug information

bash
bash
python -m pip debug
Explanation

Useful for investigating interpreter tags, platforms, and config 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 Debugging, Network, and Resolver
Run pip with verbose output
Increase output detail for troubleshooting.
OpenIn sheetbashsame section
Increase network timeout
Set a higher request timeout for slow networks.
OpenIn sheetbashsame section
Adjust retry count
Configure retry attempts for flaky network requests.
OpenIn sheetbashsame section
Disable cache for one install
Skip cache use while installing.
OpenIn sheetbashsame section
List pip configuration values
Show effective pip configuration settings.
Show cache directory
Print pip’s cache location.