setup.py syntax error building python-imaging

Fredrik Lundh fredrik at pythonware.com
Sun May 11 06:57:07 EDT 2003


Sherwin J. Singer wrote:

> Thanks very much for your very quick responses.  Of course, David is totally
> correct and invoking python2 gets the ball rolling.  Then I hit another
> problem:
>
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable
> to open /usr/lib/python2.2/config/Makefile (No such file or directory)
>
> Indeed there is no config directory in either /usr/lib/python2.2 or
> /usr/lib/python1.5.
>
> Please let me know if there is a convenient fix.  Otherwise I'll wait until
> I upgrade from RH7.3.  (My goal is to install Sketch.  Hey, xfig is still
> OK for now.)

I think you'll need to install the "python2-devel" package.

(iirc, the default RedHat 7.x install doesn't include the additional
files needed to build new Python extensions)

</F>








More information about the Python-list mailing list