[petsc-dev] #!/usr/bin/env python2?

Jed Brown jed at 59A2.org
Tue Oct 19 10:19:42 CDT 2010

On Tue, Oct 19, 2010 at 17:15, Toby D. Young <tyoung at ippt.gov.pl> wrote:
> You can't automatically locate python2 on a system that does not have
> python2 but only has python3! The correct behaviour is therefore to check
> for his own version numbers in the configure script (which petsc already
> does to some extent) and put the check right there where users can see it
> and read the error message and do something about it if things go wrong
> (ie, for now, go install python2 and call that version directly).

Everyone *has* python2.x for some x, and probably will for the next ten
years.  The problem is that distributions have been very inconsistent about
having a link named "python2".

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101019/09cf80a4/attachment.html>

More information about the petsc-dev mailing list