failed to install PIL in fedora core 6

Michele Petrazzo michele.petrazzoDELETE at DELETEunipex.it
Sat Feb 24 03:07:47 EST 2007


Frank Potter wrote:
> I use "python setup.py install" to install PIL in fedora with python 
> 2.4, But I got these errors:

<-cut some errors->

> error: Python.h: No such file or directory In file included from
> libImaging/Imaging.h:14, from _imaging.c:78:

So you don't have the python-dev package.

> What should I do if I want to successfully have pil installed?

Try to search into the Fedora repos for the PIL (or python-imaging). If
not, install the python-dev and compile!

Michele



More information about the Python-list mailing list