pip inspect¶
New in version 22.2.
Usage¶
python -m pip inspect [options]
py -m pip inspect [options]
Description¶
Inspect the content of a Python environment and produce a report in JSON format.
The format of the JSON output is described in pip inspect JSON output specification.
Options¶
- --local¶
If in a virtualenv that has global access, do not list globally-installed packages.
- --user¶
Only output packages installed in user-site.
- --path <path>¶
Restrict to the specified installation path for listing packages (can be used multiple times).