Skip to main content

detect_python

Function detect_python 

Source
pub fn detect_python() -> Result<String>
Expand description

Detect the Python executable name available on this system. Tries python3 first (Linux/macOS convention), then falls back to python. Returns an error if neither is found.