When you deploy to appspot, does your code work?

You need to use Python 2.7 locally, and you need to ensure PIL is
installed for Python 2.7.


Robert






On Wed, Apr 18, 2012 at 06:45, Computer_Engineer <[email protected]> wrote:
> Brian Quinlan:Thanks for your response,i tried as :from PIL import Image ,
> but the problem still as :No module named PIL
>       args = ('No module named PIL',)
>       message = 'No module named PIL'
>
>
> On Tuesday, April 17, 2012 5:11:44 PM UTC+3, Computer_Engineer wrote:
>>
>> I'm working on python google app engine application,i'm using python2.5, i
>> want to deal with images on GAE(filter images), initially i tried wit PIL
>> library and i installed it successfully and i tested it and it works
>> correctly on my computer,but when i test it on localhost(run on GAE), i have
>> an error thatNotImplementedError: Unable to find the Python PIL library,then
>> i tried to deal with images using Images Python API , as in this
>> tutorial:https://developers.google.com/appengine/docs/python/images/overview,
>> and i tested resizing images service,and it works correctly,but the main
>> application that i want is to filter the images,the question is :if this
>> service(image filtering) supported in Images Python API in GAE?and if not
>> how can i filter images on GAE?i saw that this service available in PIL,but
>> this library is not supported by GAE
>> I tried as a second choice to use python2.7 such that it supports PIL
>> library and i edited the app.yaml configuration file,but i don't know how to
>> use this library in the python page(main.py)?
>> app.yaml:
>> application: app_id
>> version: 1
>> runtime: python27
>> api_version: 1
>> threadsafe: false
>> handlers:
>> - url: /.*
>>   script: main.py
>> libraries:
>> - name: PIL
>>   version: "1.1.7"
>>
>> ...any suggestions are welcome...Thanks
>
>
> On Tuesday, April 17, 2012 5:11:44 PM UTC+3, Computer_Engineer wrote:
>>
>> I'm working on python google app engine application,i'm using python2.5, i
>> want to deal with images on GAE(filter images), initially i tried wit PIL
>> library and i installed it successfully and i tested it and it works
>> correctly on my computer,but when i test it on localhost(run on GAE), i have
>> an error thatNotImplementedError: Unable to find the Python PIL library,then
>> i tried to deal with images using Images Python API , as in this
>> tutorial:https://developers.google.com/appengine/docs/python/images/overview,
>> and i tested resizing images service,and it works correctly,but the main
>> application that i want is to filter the images,the question is :if this
>> service(image filtering) supported in Images Python API in GAE?and if not
>> how can i filter images on GAE?i saw that this service available in PIL,but
>> this library is not supported by GAE
>> I tried as a second choice to use python2.7 such that it supports PIL
>> library and i edited the app.yaml configuration file,but i don't know how to
>> use this library in the python page(main.py)?
>> app.yaml:
>> application: app_id
>> version: 1
>> runtime: python27
>> api_version: 1
>> threadsafe: false
>> handlers:
>> - url: /.*
>>   script: main.py
>> libraries:
>> - name: PIL
>>   version: "1.1.7"
>>
>> ...any suggestions are welcome...Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/f2BduRaG_CsJ.
>
> 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.

-- 
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.

Reply via email to