[CentOS] how to use python 2.7 by default instead python 2.6 on centos 6.8

Mon Jul 4 14:08:52 UTC 2016
qw <applemax82 at 163.com>

Hi,

centos 6.8 comes with python 2.6. But I want to use python 2.7 to build gstreamer sdk. I have built python 2.7 and installed it into my custom directory. How to set centos to use python 2.7 by default instead of python 2.6?

Thanks!

Regards

Andrew