Expand description
Python interpreter detection for sidecar provisioning.
Hard-fails with a download link when no usable Python ≥3.11 is found.
Probes candidates with -c "import sys" to skip the Windows Store stub
which exits 9009 and writes to stderr rather than actually running.
Functions§
- default_
python_ command - Platform-native default name for the Python interpreter when spawning a
sidecar launcher. On Windows there is no
python3executable — installs from python.org exposepython.exe(orpy.exe), so hardcodingpython3causes “program not found” at spawn time. On Unixpython3remains the convention. - detect_
python - Resolve a usable Python interpreter, honoring
explicitif provided.