Re: upgrading python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks <clintd@xxxxxxxxxxxxxxxxxx> wrote:
> On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell <larry.martell@xxxxxxxxx>
> wrote:
>
>> On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs <pete@xxxxxxxxxxxx> 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?

> 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?

Thanks. Missed that. Now I do get 7.5.13 but it seems I have to type
that command in each new shell. Can I make that the default python? I
want django and uWSGI to use that version.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux