[Distutils] Newby Question: install easy_install for python2.5 on RHEL

Walter Coole WCoole at aperiogroup.com
Tue Mar 2 22:22:55 CET 2010


When I try to install with:

 

                sudo sh setuptools-0.6c11-py2.5.egg

 

I get an error:

 

                error: invalid Python installation: unable to open
/usr/lib64/python2.5/config/Makefile (No such file or directory)

 

That I don't really understand.  Yes, it's true that there is no
/usr/lib64/python2.5/config directory, but I've gotten along nicely
without one for quite a while.

 

I haven't had much trouble with my Fedora box (which uses 2.5 by
default) or the default 2.4 installation on my RHEL (which doesn't help,
since my application needs 2.5), so I started thinking I knew what I was
doing.

 

I'm sure that there is some confusion due to the fact that I've
installed python2.5 in a different-than-usual directory.  I need to keep
"python" referring to python2.4, since RHEL 5.2 depends on it.
Presumably, if I can tell setuptools-0.6c11-py2.5.egg enough about where
things are, it should be able to adapt.

 

I've tried several variations, but haven't made much progress.   If
anyone could point out which option to use to override its choice of
directory or which directory to point it to, that would be a big help.

 

Or perhaps I've just been looking at this completely wrong-headedly, in
which case I'd be most grateful for instructions on how to install some
variation of setuptools to work with python2.5 on a RHEL 5 system.

 

Thanks!

Walter

 

PS. In case it matters to anyone, all I really need to do is to install
the beatbox module, for which I have the .egg file, but I don't know how
to install a .egg file in a useful way without setuptools or some such.
It seem a shame to break open the egg and install its guts manually, but
if that seems like the available alternative, I'd welcome any pointers.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20100302/c5745e10/attachment.html>


More information about the Distutils-SIG mailing list