Issues installing Python 2.7

Steven D'Aprano steve at pearwood.info
Thu Nov 27 03:13:57 EST 2014


On Wed, 26 Nov 2014 09:09:30 -0800, billyfurlong wrote:

> ./configure --prefix=/opt/python2.7 --enable-shared

Do you need to install to /opt instead of the default of 
/usr/local/bin? I have multiple versions of Python installed on a Red Hat 
system (Centos, but RH should be the same) using the default prefix of 
/usr/local/bin and don't have any trouble.


I recommend you try again with just:


./configure
make
make altinstall


then add an alias to your .bashrc 

alias python=python2.7


and see how that works for you.


-- 
Steven



More information about the Python-list mailing list