← 返回命令列表

Linux command

pip-inspect 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Inspect installed packages

pip inspect

Output as JSON

pip inspect --local

说明

pip inspect outputs JSON describing installed packages and their metadata. Provides detailed information about installed distributions including versions, requires, and provides metadata. Useful for programmatic environment analysis.

参数

--local
Only inspect virtualenv packages.
--user
Only inspect user packages.
--path _path_
Inspect packages in path.

FAQ

What is the pip-inspect command used for?

pip inspect outputs JSON describing installed packages and their metadata. Provides detailed information about installed distributions including versions, requires, and provides metadata. Useful for programmatic environment analysis.

How do I run a basic pip-inspect example?

Run `pip inspect` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --local do in pip-inspect?

Only inspect virtualenv packages.