python version

General support questions
Posts: 89
Joined: 2017/02/25 12:41:42

python version

Postby knzzz » 2018/02/25 00:13:45

Hi Team,

in my centos 6.9 version i have python 2.6 but when i tried to upgrade 2.7 its not getting upgraded can someone tell how to fix problem

User avatar
Forum Moderator
Posts: 22019
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: python version

Postby TrevorH » 2018/02/25 13:28:09

Don't change the system python, it will break lots of things like yum.

If you need a newer python then look at the python27/python3* packages from third party repos like EPEL and/or IUS.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke