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

P.J. Eby pje at telecommunity.com
Sat Mar 6 19:06:51 CET 2010

At 01:22 PM 3/2/2010 -0800, Walter Coole wrote:
>Content-Class: urn:content-classes:message
>Content-Type: multipart/alternative;
>         boundary="----_=_NextPart_001_01CABA4E.86D76612"
>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.

You are probably missing your distribution's "python-dev" or 
"python-devel" package, which is required to use the distutils at 
all, let alone setuptools.

More information about the Distutils-SIG mailing list