python version

General support questions
Post Reply
knzzz
Posts: 121
Joined: 2017/02/25 12:41:42

python version

Post by 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
TrevorH
Forum Moderator
Posts: 24078
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: python version

Post by 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

Post Reply