mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
0f84a3637c
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
644 B
644 B
pip inspect
Inspect the Python environment and produce a report in JSON format. More information: https://pip.pypa.io/en/stable/cli/pip_inspect/.
- Inspect the current environment:
pip inspect
- Inspect and save output to a file:
pip inspect > {{environment_report.json}}
- Inspect only locally installed packages (not global):
pip inspect --local
- Inspect only user-installed packages:
pip inspect --user
- Inspect packages in a specific path:
pip inspect --path {{path/to/environment}}
- Inspect with verbose output (Note: the
-vflag can be repeated to increase verbosity):
pip inspect {{[-v|--verbose]}}