hi
i am trying to use PIL, with Django to display Captcha. This could be newbie
stuff as I am new to python and PIL
I am getting following error when importing ImageFont.
ImportError: The _imaging C module is not installed
I have the file though.
[bash]# file PIL/_imaging.so
PIL/_imaging.so: ELF 32-bit LSB shared object, Intel 80386, version 1
(SYSV), not stripped
How could I fix this?
I am able to import other stuff like Image, ImageDraw, ImageColor
How can I find out version of PIL?
Regards
Atishay
=========details========
>>> import ImageFont
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.5/site-packages/PIL/ImageFont.py", line 115,
in <module>
class FreeTypeFont:
File "/usr/local/lib/python2.5/site-packages/PIL/ImageFont.py", line 135,
in FreeTypeFont
def getmask2(self, text, mode="", fill=Image.core.fill):
File "/usr/local/lib/python2.5/site-packages/PIL/Image.py", line 36, in
__getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
============
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig