pub fn get_python_path() -> Result<PathBuf, ErrReport>Expand description
Locate a Python 3 interpreter, in order of preference:
- If
uvis available, useuv python findto get the Python path. - Otherwise, try
pythonand check it is not Python 2. - Fall back to
python3ifpythonis Python 2 (or absent).
Returns an error only if none of the above yields a usable Python 3.