then you have to be VERY careful with python
yum MUST HAVE the version that is in the base and update repo installed and used
it is VERSION dependent it is
now a different version can be installed side by side
Python2.6.6 is installed ( on my SL 6.4 )
What program is needing Python2.7
using a software reop is normally best for a system wide install
( see the end of the post)
is it just not finding a hard coded lib version
as in a error about libpython2.7.so.1.0 not found
or
is this a configure error that is erroring about python not a specific version
the current 2.7 is 2.7.6
http://www.python.org/download/releases/2.7.6/
or
do you need the OLD 2.7.1 ?
for 2.7.6 use the prefix and altinstall options
but if it is only one program rant needs it then it might be a GOOD idea to install python in it's own folder and write a lunch shell script pointing to this folder and launch the program
Code:
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel ncurses-devel readline-devel tk-devel
side by side ? should not cause yum problems
Code:
cd Python-2.7.6
./configure --prefix=/usr
make
su
----- your root password ----
make altinstall
there is NO guarantee on altinstall
if only one program needs it
Code:
./configure --prefix=/opt/Python27
make
su
make install
then make a shell script to use that location
there is a third party repo
http://people.redhat.com/bkabrda/python27-rhel-6/
( never used this !!! )
and the repo used in this guide
( never used this , but looks like it will work just fine for a system wide install of 2.7 )
http://linuxsysconfig.com/2013/03/ru...ntos6rhel6sl6/
i put the different version of python in the program folder that needs it
and use a script to start that program