[petsc-dev] python2 vs python3 wrt configure

Satish Balay balay at mcs.anl.gov
Thu Oct 24 15:50:30 CDT 2013


On Thu, 24 Oct 2013, Jed Brown wrote:

> 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/

yeah  its a 'apt-get install python2'. Similar thing with future fedora releases.


> 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.

with such isses python creates - no wonder considerable number of
tools still use /bin/sh

[one doesn't have to change scripts every 10 years so that the correct sh is found]

Satish



More information about the petsc-dev mailing list