[petsc-dev] python2 vs python3 wrt configure

Jed Brown jedbrown at mcs.anl.gov
Thu Oct 24 15:23:10 CDT 2013


Satish Balay <balay at mcs.anl.gov> writes:

> On Thu, 24 Oct 2013, Jed Brown wrote:
>
>> Satish Balay <balay at mcs.anl.gov> writes:
>> > But then - as you said - python 2.4 doesn't provide python2
>> 
>> Python 2.6.8 (April 2012) does not provide python2!
>
> so changing 'python' to 'python2' in configure won't help

The front-end "configure" stub, runs in any version of Python, and can
provide a helpful error message.  The question is when people will have
to spell out the path to their Python.

Note that Ubuntu 14.04 (this coming spring) intends to only have python3
in the officially supported repositories (and on installation media).
If you need python2, you'll have to get it from the community
repositories.

https://wiki.ubuntu.com/Python/


With respect to the old versions of Python in the logs, a better
question is which of those machines do not have a more recent version of
Python, perhaps one that you have to invoke using "python2.6" instead of
"python".  The barrier for upgrading is much lower if people can
trivially run configure with a suitably recent Python.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131024/bcb3f716/attachment.sig>


More information about the petsc-dev mailing list