On Wed, Jan 26, 2022, at 6:37 AM, Mike Frysinger wrote: > Since Python 2.x went EOL years ago, stop searching for it before > any of the Python 3 versions.
+1 > m4_define_default([_AM_PYTHON_INTERPRETER_LIST], > -[python python2 python3 dnl > +[python python3 dnl > python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 dnl > python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl > python3.2 python3.1 python3.0 dnl > + python2 dnl > python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl > python2.0]) Please also move the plain "python" command down to the python2 block (right after "python2" would be the best place I think). Any system on which "python" runs Python 3 is grossly misconfigured. zw