Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread James B. Byrne
On Sun, April 27, 2014 23:33, Robert Arkiletian wrote: This is a bad hack. Undo the damage. Then install the official CentOS Software Collections repo. https://www.softwarecollections.org/en/ It has Python27. I followed the instruction on that link and discovered that one basically needs

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread Larry Martell
On Sun, Apr 27, 2014 at 8:19 PM, John R Pierce pie...@hogranch.com wrote: On 4/27/2014 6:42 PM, Larry Martell wrote: No I installed 2.7 from a repo that had it. So now I guess I have to find 2.7 repos for all the packages we use. no repo intended for CentOS6/RHEL6 should have replaced

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread Larry Martell
On Sun, Apr 27, 2014 at 9:33 PM, Robert Arkiletian rob...@gmail.com wrote: On Sun, Apr 27, 2014 at 1:58 PM, Larry Martell larry.mart...@gmail.com wrote: I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread Nicolas Thierry-Mieg
On 04/28/2014 02:52 PM, James B. Byrne wrote: On Sun, April 27, 2014 23:33, Robert Arkiletian wrote: This is a bad hack. Undo the damage. Then install the official CentOS Software Collections repo. https://www.softwarecollections.org/en/ It has Python27. I followed the instruction on

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread Nicolas Thierry-Mieg
On 04/28/2014 03:05 PM, Larry Martell wrote: On Sun, Apr 27, 2014 at 9:33 PM, Robert Arkiletian rob...@gmail.com wrote: On Sun, Apr 27, 2014 at 1:58 PM, Larry Martell larry.mart...@gmail.com wrote: I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-28 Thread John R Pierce
On 4/28/2014 5:59 AM, Larry Martell wrote: It did not install to /usr/bin/python - I never said that it did. It installed to /usr/local/bin/python2.7. I then linked /usr/local/bin/python2.7 to /usr/bin/python so 2.7 would be picked up as the default. instead, you should have put

[CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread Larry Martell
I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not work with that, so I changed the shebang line for yum to /usr/bin/python2.6 and then yum works again. But when I install a python package with yum it get

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread Jim Perrin
On 04/27/2014 03:58 PM, Larry Martell wrote: I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not work with that, so I changed the shebang line for yum to /usr/bin/python2.6 and then yum works again. But

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread Larry Martell
On Sun, Apr 27, 2014 at 4:41 PM, Jim Perrin jper...@centos.org wrote: On 04/27/2014 03:58 PM, Larry Martell wrote: I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not work with that, so I changed the

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread John R Pierce
On 4/27/2014 6:42 PM, Larry Martell wrote: No I installed 2.7 from a repo that had it. So now I guess I have to find 2.7 repos for all the packages we use. no repo intended for CentOS6/RHEL6 should have replaced /usr/bin/python with a newer version. there's no way to do that without breaking

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread John R. Dennison
On Sun, Apr 27, 2014 at 07:19:57PM -0700, John R Pierce wrote: On 4/27/2014 6:42 PM, Larry Martell wrote: No I installed 2.7 from a repo that had it. So now I guess I have to find 2.7 repos for all the packages we use. no repo intended for CentOS6/RHEL6 should have replaced /usr/bin/python

Re: [CentOS] Getting yum to install to python 2.7 dir

2014-04-27 Thread Robert Arkiletian
On Sun, Apr 27, 2014 at 1:58 PM, Larry Martell larry.mart...@gmail.com wrote: I am running CentOS 6.5, which has python 2.6. I need python 2.7 so I installed that and it works and is my default python. But yum does not work with that, so I changed the shebang line for yum to /usr/bin/python2.6