[petsc-dev] Configure won't find python

Jed Brown jed at jedbrown.org
Fri Apr 17 23:31:52 CDT 2020


Satish Balay via petsc-dev <petsc-dev at mcs.anl.gov> writes:

>> > Given that python2 has gone the way of the dodo perhaps petsc should be looking for python3 over python2.
>
> I'm not sure what would be common across distros/OSes wrt /usr/bin/python - one shouldn't assume this is always python2 [and that it won't exist for python3 only installs]
>
> I have:
>
> balay at sb /home/balay
> $ /usr/bin/python --version
> Python 3.7.6

My distro's /usr/bin/python has been python3 since, I believe, 2011.

That said, an executable named python3 also exists at that path.


More information about the petsc-dev mailing list