Re: [CentOS] upgrading python

2017-12-12 Thread Larry Martell
On Tue, Dec 12, 2017 at 9:11 AM, wrote: > Larry Martell wrote: >> On Mon, Dec 11, 2017 at 4:32 PM, Larry Martell >> wrote: >>> On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks >>> wrote: On Tue, Dec 12, 2017 at 10:09 AM,

Re: [CentOS] upgrading python

2017-12-12 Thread m . roth
Larry Martell wrote: > On Mon, Dec 11, 2017 at 4:32 PM, Larry Martell > wrote: >> On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks >> wrote: >>> On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell >>> >>> wrote: On Tue,

Re: [CentOS] upgrading python

2017-12-12 Thread Larry Martell
On Mon, Dec 11, 2017 at 4:32 PM, Larry Martell wrote: > On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks > wrote: >> On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell >> wrote: >> >>> On Tue, Dec 5, 2017 at 8:22 AM, Pete

Re: [CentOS] upgrading python

2017-12-11 Thread Larry Martell
On Mon, Dec 11, 2017 at 5:57 PM, Kenneth Porter wrote: > On 12/11/2017 2:50 PM, Larry Martell wrote: >> >> ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor >> /etc/uwsgi/sites > > > You probably want: > > ExecStart=/usr/bin/scl enable python27

Re: [CentOS] upgrading python

2017-12-11 Thread Kenneth Porter
On 12/11/2017 2:50 PM, Larry Martell wrote: ExecStart=/usr/bin/scl enable python27 bash; /usr/bin/uwsgi --emperor /etc/uwsgi/sites You probably want: ExecStart=/usr/bin/scl enable python27 '/usr/bin/uwsgi --emperor /etc/uwsgi/sites' See: https://linux.die.net/man/1/scl

Re: [CentOS] upgrading python

2017-12-11 Thread Larry Martell
On Mon, Dec 11, 2017 at 5:43 PM, Clint Dilks wrote: > On Tue, Dec 12, 2017 at 11:31 AM, wrote: > >> Pete Biggs wrote: >> > On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: >> >> On Mon, 11 Dec 2017 16:32:06 -0500 >> >> Larry Martell wrote: >> >> >>

Re: [CentOS] upgrading python

2017-12-11 Thread Clint Dilks
On Tue, Dec 12, 2017 at 11:31 AM, wrote: > Pete Biggs wrote: > > On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: > >> On Mon, 11 Dec 2017 16:32:06 -0500 > >> Larry Martell wrote: > >> > >> > Can I make that the default python? > >> > >> ~/.bashrc > >> > > No. I'm not

Re: [CentOS] upgrading python

2017-12-11 Thread m . roth
Pete Biggs wrote: > On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: >> On Mon, 11 Dec 2017 16:32:06 -0500 >> Larry Martell wrote: >> >> > Can I make that the default python? >> >> ~/.bashrc >> > No. I'm not entirely sure that is a good idea! No, not all. > > 'scl enable python27 bash' creates

Re: [CentOS] upgrading python

2017-12-11 Thread Pete Biggs
On Mon, 2017-12-11 at 15:44 -0600, Frank Cox wrote: > On Mon, 11 Dec 2017 16:32:06 -0500 > Larry Martell wrote: > > > Can I make that the default python? > > ~/.bashrc > No. I'm not entirely sure that is a good idea! No, not all. 'scl enable python27 bash' creates a *new* shell with the

Re: [CentOS] upgrading python

2017-12-11 Thread Pete Biggs
> > > > > > > > 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

Re: [CentOS] upgrading python

2017-12-11 Thread Johnny Hughes
On 12/11/2017 03:32 PM, Larry Martell wrote: > On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks > wrote: >> On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell >> wrote: >> >>> On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs wrote:

Re: [CentOS] upgrading python

2017-12-11 Thread Kenneth Porter
On 12/11/2017 1:32 PM, Larry Martell wrote: 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. The "default" python is a dependency for many other system packages,

Re: [CentOS] upgrading python

2017-12-11 Thread Frank Cox
On Mon, 11 Dec 2017 16:32:06 -0500 Larry Martell wrote: > Can I make that the default python? ~/.bashrc -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] upgrading python

2017-12-11 Thread Larry Martell
On Mon, Dec 11, 2017 at 4:25 PM, Clint Dilks wrote: > On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell > wrote: > >> On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs wrote: >> > On Tue, 2017-12-05 at 14:16 +0100, Kai Grunau wrote:

Re: [CentOS] upgrading python

2017-12-11 Thread Clint Dilks
On Tue, Dec 12, 2017 at 10:09 AM, Larry Martell wrote: > On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs 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

Re: [CentOS] upgrading python

2017-12-11 Thread Larry Martell
On Tue, Dec 5, 2017 at 8:22 AM, Pete Biggs 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

Re: [CentOS] upgrading python

2017-12-05 Thread Andrew Holway
> > I am going to investigate Pete > Biggs' suggestion to use Software Collections. > +1 for SCL ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] upgrading python

2017-12-05 Thread Larry Martell
On Tue, Dec 5, 2017 at 10:00 AM, Marc Gouw wrote: > > > On 12/05/2017 02:45 PM, Kai Grunau wrote: >> >> On 05.12.2017 14:24, Larry Martell wrote: >>> >>> On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau wrote: On 05.12.2017 14:05, Larry Martell wrote:

Re: [CentOS] upgrading python

2017-12-05 Thread Marc Gouw
On 12/05/2017 02:45 PM, Kai Grunau wrote: On 05.12.2017 14:24, Larry Martell wrote: On Tue, Dec 5, 2017 at 8:16 AM, 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)

Re: [CentOS] upgrading python

2017-12-05 Thread Kai Grunau
On 05.12.2017 14:24, Larry Martell wrote: On Tue, Dec 5, 2017 at 8:16 AM, 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

Re: [CentOS] upgrading python

2017-12-05 Thread Larry Martell
On Tue, Dec 5, 2017 at 8:16 AM, 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

Re: [CentOS] upgrading python

2017-12-05 Thread Pete Biggs
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

Re: [CentOS] upgrading python

2017-12-05 Thread Kai Grunau
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

Re: [CentOS] Upgrading Python with Yum

2010-03-23 Thread Susan Day
On Mon, Mar 22, 2010 at 9:11 PM, Jim Perrin jper...@gmail.com wrote: On Mon, Mar 22, 2010 at 7:31 PM, John R Pierce pie...@hogranch.com wrote: If you absolutely have to have 2.6 for some user application, I would compile and install it to run somewhere else, like /usr/local/python26 or

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Akemi Yagi
On Mon, Mar 22, 2010 at 6:51 AM, Susan Day suzieprogram...@gmail.com wrote: Hi; I have an old version of Python (2.4.3) and I'm trying to upgrade (to 2.6); however, when I try yum upgrade python it tells me that it's already got the latest and greatest...presumably of 2.4.3. I've tried yum

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Susan Day
On Mon, Mar 22, 2010 at 10:08 AM, Akemi Yagi amy...@gmail.com wrote: On Mon, Mar 22, 2010 at 6:51 AM, Susan Day suzieprogram...@gmail.com wrote: Hi; I have an old version of Python (2.4.3) and I'm trying to upgrade (to 2.6); however, when I try yum upgrade python it tells me that

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Akemi Yagi
On Mon, Mar 22, 2010 at 7:36 AM, Susan Day suzieprogram...@gmail.com wrote: Where can I get the latest version of XyZ.rpm for CentOS? I cannot find it anywhere. ( http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7 ) Well that states that the latest stable

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Kai Schaetzl
Akemi Yagi wrote on Mon, 22 Mar 2010 07:08:43 -0700: You might want to read this FAQ: AND, you do not want to upgrade python on a CentOS system. You may install a newer python in parallel, but never upgrade the system python. Kai -- Get your web at Conactive Internet Services:

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Susan Day
On Mon, Mar 22, 2010 at 10:47 AM, Akemi Yagi amy...@gmail.com wrote: In a package-based distro like CentOS, installing from tarballs is strongly discouraged. Please also take a look at: http://wiki.centos.org/PackageManagement/SourceInstalls Yeah I know. Thanks for the link. I've tried

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread John R Pierce
Kai Schaetzl wrote: AND, you do not want to upgrade python on a CentOS system. You may install a newer python in parallel, but never upgrade the system python. indeed. lots of CentOS utilties, including Yum itself, are written in python, and python has a horrible track record for

Re: [CentOS] Upgrading Python with Yum

2010-03-22 Thread Jim Perrin
On Mon, Mar 22, 2010 at 7:31 PM, John R Pierce pie...@hogranch.com wrote: If you absolutely have to have 2.6 for some user application, I would compile and install it to run somewhere else, like /usr/local/python26 or /opt/mystuff/python26 The IUS Community repository has a newer version of