sys.exec_prefix doesn't seem to reflect --exec-prefix path

Ned Deily nad at acm.org
Thu Mar 26 17:54:37 EDT 2015


In article <548dcac1-fa00-4fc1-81d1-ccae28cafcbc at googlegroups.com>,
 Ralph Heinkel <ralph.heinkel at web.de> wrote:
> on my linux box there is a python version 2.7.5 installed in /usr/local.
> 
> Now I want to install the newer version 2.7.9, but in a different directory 
> to avoid clashes with the current installation.
> 
> What I did was:
> 
> ./configure --prefix /usr/local/Python-2.7.9 --exec-prefix 
> /usr/local/Python-2.7.9
> make
> make install

Configure arguments need to be specified with '='.  Try instead:

./configure --prefix=/usr/local/Python-2.7.9

And --exec-prefix isn't needed in this case as it defaults to the value 
of --prefix.

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list