Finds a Python 3 interpreter on this machine: python3, then python. A candidate counts only if it runs and reports Python 3.x, so a python that is really Python 2 is skipped. The result is cached for the process.
python3
python
Python 3.x
Optional
Source file that needs Python, named in the error
If no Python 3 interpreter is found
Finds a Python 3 interpreter on this machine:
python3, thenpython. A candidate counts only if it runs and reportsPython 3.x, so apythonthat is really Python 2 is skipped. The result is cached for the process.