Skip to main content

find_interpreter

Function find_interpreter 

Source
pub fn find_interpreter() -> Option<PathBuf>
Expand description

Find a working Python interpreter on PATH.

Returns the first candidate that resolves via which and passes a --version health check. Returns None if no candidate works.