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

qw applemax82 at 163.com
Mon Jul 4 15:21:55 UTC 2016


Hi,

Thanks for your reply.


>> 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?
>
>Don't.  If you try to swap out the standard python with another one, expect
>almost everything you hold dear to break.

I want to build gstreamer sdk on centos by using cerbero, which is of python program and demands python 2.7. How to make centos 6.8 choose python 2.7 by default instead of python 2.6, so as to build gstreamer sdk?

Thanks!

Regards

Andrew







At 2016-07-04 22:25:20, "John Hodrien" <J.H.Hodrien at leeds.ac.uk> wrote:
>On Mon, 4 Jul 2016, qw wrote:
>
>> 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?
>
>Don't.  If you try to swap out the standard python with another one, expect
>almost everything you hold dear to break.
>
>jh
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>https://lists.centos.org/mailman/listinfo/centos


More information about the CentOS mailing list