def getPython2ExePath():
    if python_version < 300:
        return sys.executable
    elif Utils.getOS() == "Windows":
        python_exe = _getPython2ExePathWindows()

        if python_exe is not None:
            return python_exe
        else:
            sys.exit("""\
Error, need to find Python2 executable under C:\\Python26 or \
C:\\Python27 to execute scons which is not Python3 compatible.""")
    elif Utils.isFile("/usr/bin/python2.7"):
        return "/usr/bin/python2.7"
    elif Utils.isFile("/usr/bin/python2.6"):
        return "/usr/bin/python2.6"
    elif Utils.isFile("/usr/bin/python2"):
        return "/usr/bin/python2"
    else:
        return "python"
Find a way to call Python2. Scons needs it.
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/build/SconsInterface.py/getPython2ExePath