I have already installed PIL in my dev environment, and it works fine. The Images API works fine for me (my app already resizes images and saves them to the datastore with no problem) - that's not the issue.
The issue is that I'd like to use PIL in my app for drawing operations, e.g. drawing rainbows. Audrey On Mar 24, 3:12 am, Tim Hoffman <[email protected]> wrote: > Hi > > You really need to read the docs. > http://code.google.com/appengine/docs/python/images/overview.html > Not the bit about installing PIL (only for you dev environment), it > also tells you how to install PIL in your dev environment. > > T > > On Mar 24, 5:16 pm, Audrey M Roy <[email protected]> wrote: > > > Hello, > > > I'd like to use the PIL module. I know it's not supported, so I > > copied the PIL source files into a directory in my app's source > > directory. > > At this point, "import Image, ImageDraw" didn't work. > > > I thought it might be a package name conflict and found this other > > thread:http://groups.google.com/group/google-appengine/browse_thread/thread/... > > > Then I tried doing as suggested in that posting. I created a file > > called import_fixer.py with those contents mentioned. I removed > > "import Image, ImageDraw" and then added the following to my > > application file: > > import import_fixer > > import_fixer.FixImports('Image') > > import_fixer.FixImports('ImageDraw') > > > Now I am getting the error: > > <type 'exceptions.ImportError'>: No module named Image > > args = ('No module named Image',) > > message = 'No module named Image' > > > Any advice? Thanks in advance, > > Audrey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
