Expand description
Query Python interpreters and inspect their environments.
Structs§
- Broken
Link - Environment
NotFound - The result of failed environment discovery.
- Externally
Managed - The
EXTERNALLY-MANAGEDfile in a Python installation. - Interpreter
- A Python executable and its associated platform markers.
- Invalid
Environment - PyVenv
Configuration - A parsed
pyvenv.cfg - Python
Environment - A Python environment, consisting of a Python
Interpreterand its associated paths. - Requested
Interpreter - An interpreter together with the resolved request used to select it.
- Status
Code Error - Unexpected
Response Error - Virtual
Environment - The layout of a virtual environment.
Enums§
- Interpreter
Error - Interpreter
Info Error - Invalid
Environment Kind - Pointer
Size - Python
Environment Error - A failure while inspecting an existing Python environment.
- Virtual
EnvError
Functions§
- canonicalize_
executable - Calls
fs_err::canonicalizeon Unix. On Windows, avoids attempting to resolve symlinks but will resolve junctions if they are part of a trampoline target. - virtualenv_
python_ executable - Returns the path to the
pythonexecutable inside a virtual environment.