mpiP icon indicating copy to clipboard operation
mpiP copied to clipboard

Python not found during configure

Open jgraciahlrs opened this issue 4 years ago • 2 comments

Our system does not provide the command python, only python2 and python3. I believe this is becoming increasingly widespread.

The configure scripts accepts only python and I do not see a way to change this via options or environment variables.

I suggest to replace

AC_CHECK_PROG(HAVE_PYTHON,[python],[python],[no])

with

AC_CHECK_PROGS(HAVE_PYTHON,[python, python3, python2],[no])

Consider dropping support for python2.

jgraciahlrs avatar Feb 08 '22 11:02 jgraciahlrs

No python can be found after modification

wujialong163 avatar Mar 01 '23 10:03 wujialong163

use python2

2397798540 avatar Apr 25 '23 02:04 2397798540