[BangPypers] Imaging will not compile

Noufal Ibrahim noufal at gmail.com
Wed Aug 4 08:15:03 CEST 2010


Kenneth Gonsalves <lawgon at au-kbc.org> writes:


[...]

> _imaging.c:76:20: error: Python.h: No such file or directory

[...]

This looks like your problem. You need the development libraries for the
Python version you're using. They're necessary to compile C
extensions. If you've installed from the repo., the package will be
available as -dev (e.g. python2.5-dev). If it's from source, there are a
couple of variables you need to set to tell distutils where to find 'lib'
and 'include'. 

Is directly "apt-get"ting pil not an option? That would save you from
the headache of having to compile etc.


-- 


More information about the BangPypers mailing list