Skip to main content

Crate uv_python_interpreter

Crate uv_python_interpreter 

Source
Expand description

Query Python interpreters and inspect their environments.

Structs§

BrokenLink
EnvironmentNotFound
The result of failed environment discovery.
ExternallyManaged
The EXTERNALLY-MANAGED file in a Python installation.
Interpreter
A Python executable and its associated platform markers.
InvalidEnvironment
PyVenvConfiguration
A parsed pyvenv.cfg
PythonEnvironment
A Python environment, consisting of a Python Interpreter and its associated paths.
RequestedInterpreter
An interpreter together with the resolved request used to select it.
StatusCodeError
UnexpectedResponseError
VirtualEnvironment
The layout of a virtual environment.

Enums§

InterpreterError
InterpreterInfoError
InvalidEnvironmentKind
PointerSize
PythonEnvironmentError
A failure while inspecting an existing Python environment.
VirtualEnvError

Functions§

canonicalize_executable
Calls fs_err::canonicalize on 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 python executable inside a virtual environment.