On Nov 19, 2006, at 6:44 PM, chiangf wrote:
>
> Alberto, I confess, I have no idea how to make PIL work on TG.
>
> I first tried using your code, in which it said that Image was not
> found. So I went to the PIL website and downloaded and installed
> 1.1.5. Then it says AttributeError: type object 'Image' has no
> attribute 'open'
>
> I even tried doing:
> import PIL
> ...
> PIL.Image.open("...")
>
> In which, it said that PIL doesn't have attribute "Image".
>
> Any ideas how to make this work?
Hmmm, that's weird. It works fine in my system (MacOSX 10.4.8 i386
with PIL 1.1.5). In fact, I've tested the commands in the
interpreter before sending them... Just guessing, it *might* be
because I've installed PIL with setuptools instead of distutil with
a hacked setup.py. If you want to I can send you privately the
setup.py I'm using.
Alberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---