pip inspect#

New in version 22.2.


python -m pip inspect [options]
py -m pip inspect [options]


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.



If in a virtualenv that has global access, do not list globally-installed packages.


Only output packages installed in user-site.

--path <path>#

Restrict to the specified installation path for listing packages (can be used multiple times).