[CentOS] upgrading python

Clint Dilks clintd at scms.waikato.ac.nz
Mon Dec 11 21:25:09 UTC 2017


On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell <larry.martell at gmail.com>
wrote:

> On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs <pete at biggs.org.uk> wrote:
> > On Tue, 2017-12-05 at 14:16 +0100, Kai Grunau wrote:
> >> On 05.12.2017 14:05, Larry Martell wrote:
> >> > I am running CentOS 7 and I have python version:
> >> >
> >> > Python 2.7.5 (default, Sep 15 2016, 22:37:39)
> >> >
> >> > I need a newer version of 2.7 to pick up a bug fix. How can I do that
> >> > (without breaking anything in CentOS)?
> >>
> >> you could use the anaconda software, it is independent of the OS
> >> regards
> >>
> >>
> >
> > Or use Software Collections, the Python27 package from there has 2.7.13
> >
> >  https://www.softwarecollections.org/en/scls/rhscl/python27/
> >
> >  https://wiki.centos.org/AdditionalResources/Repositories/SCL
>
> I followed the instructions at the first link and I still only seem to
> have 2.7.5. How can I specify a newer version?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Hi, perhaps reading https://www.softwarecollections.org/en/ and
https://www.softwarecollections.org/en/scls/rhscl/python27/ will help.

Have you done scl enable python27 bash in your current shell?



More information about the CentOS mailing list