Python environment commands
pinset venv status
Show the selected CPython distribution and managed project-environment path.
View source on GitHub ↗| Field | Description |
|---|---|
| Purpose | Show the selected CPython distribution and managed project-environment path. |
| Syntax and arguments | pinset venv status [--cwd <path>]. |
| Modifies state | No. |
| Example | pinset venv status |
| JSON | No. |
| Exit | 0 when status can be determined; 2 for invalid project or ownership state. |
| Key errors | Missing Python selection, invalid lock, missing/mismatched ownership marker, or unreadable environment. |
/en/docs/commands/venv-statusPinset 2.1