pub fn find_interpreter() -> Result<PathBuf>
Expand description
Attempts to locate a python interpreter.
Locations are checked in the order listed:
- If
PYO3_PYTHON
is 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