pinset2.1
中文
Python environment commands

pinset venv status

Show the selected CPython distribution and managed project-environment path.

View source on GitHub
FieldDescription
PurposeShow the selected CPython distribution and managed project-environment path.
Syntax and argumentspinset venv status [--cwd <path>].
Modifies stateNo.
Examplepinset venv status
JSONNo.
Exit0 when status can be determined; 2 for invalid project or ownership state.
Key errorsMissing Python selection, invalid lock, missing/mismatched ownership marker, or unreadable environment.
/en/docs/commands/venv-statusPinset 2.1