Hi there,
I am on project using Google App Engine and third party library PIL.
Currently I am trying to just create a new image, via PIL's submodule Image.
So my local installation with Python 2.7.4 running works just finde with PIL:
$ python
Python 2.7.4 (default, Apr 19 2013, 18:28:01)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image
>>> img=Image.new("RGBA", (100, 100))
>>> if img: print True
...
True
>>>
My
app.yaml, includes following
libraries-information:
...
runtime: python27
...
libraries:
- name: PIL
version: latest
I deployed my application being convident having it running. ... but ... the online-version of Google App Engine logged some errors:
...
img=Image.new("RGBA", (width, height))
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/PIL-1.1.7/PIL/Image.py", line 1763, in new
return Image()._new(core.fill(mode, size, color))
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/PIL-1.1.7/PIL/Image.py", line 37, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
(... and to make sure, I tried "version: 1.1.7" in my app.yaml).
I also tried importing _imaging from my local python-installation, but didn't get it running. I neither find anything helpful about this.
Does anyone have a helpful tipp to solve this problem ?
Thanks in advance.