pub fn find_interpreter() -> Result<PathBuf, Error>Expand description
Attempts to locate a python interpreter.
Locations are checked in the order listed:
- If
PYO3_PYTHONis set, this interpreter is used. - If in a virtualenv, that environment’s interpreter is used.
python, if this is functional a Python 3.x interpreterpython3, as above