Thread subject: sK1 Project :: Can't import the Python Imaging Library on Mac OS X Leopard

Posted by vizkr on 10-01-2010 19:34

Just built unconv under Mac OS X 10.5.8 that is running python 2.5.1 and all seemed well but I got this error when I gave the app a test drive. Unfortunately my python is rather weak.

Anyone able to point me in the right direction?

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Library/Python/2.5/site-packages/uniconvertor/", line 64, in <module>
from import load
File "/Library/Python/2.5/site-packages/uniconvertor/app/", line 62, in <module>
from conf.configurator import Configurator
File "/Library/Python/2.5/site-packages/uniconvertor/app/conf/", line 11, in <module>
from import connector
File "/Library/Python/2.5/site-packages/uniconvertor/app/", line 114, in <module>
File "/Library/Python/2.5/site-packages/uniconvertor/app/", line 103, in _import_PIL
warn.warn(warn.USER, "Can't import the Python Imaging Library")
NameError: global name 'warn' is not defined

Posted by igor on 10-01-2010 20:29


I think you can try using PIL package on following resource: