On Thu, 2011-05-05 at 15:35 +0200, Nico Grubert wrote: > Hi there > > I am having trouble to install PIL 1.1.7 on CentOS. > > I read and followed the instructions from > http://effbot.org/zone/pil-imaging-not-installed.htm > > However, I still get the "The _imaging C module is not installed" error > if I run the selftest: > > $ python selftest.py > *** The _imaging C module is not installed > > > Here is what I have tested so far: > > 1.) > > $ python -v > ... > >>> import Image > ... > dlopen("/usr/local/lib/python2.4/site-packages/PIL/_imaging.so", 2); > import _imaging # dynamically loaded from > /usr/local/lib/python2.4/site-packages/PIL/_imaging.so > ...
I had this problem earlier this week. Assuming that you pip-installed or similar. PIL will compile and install if you don't have some development libraries and then simply not work or not work up to full steam when used. To avoid this, you need to install the appropriate libraries, among which are: libjpeg-devel freetype-devel libpng-devel Probably others as well. HTH, -a -- http://mail.python.org/mailman/listinfo/python-list