且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法找到Python PIL库.Google App Engine

更新时间:2022-10-21 18:05:32

We're probably going to need more information, so here are some questions and things to try.

How are you trying to access the PIL? Are you trying to use the google.appengine.api.images module, or PIL directly? It sounds like the former, but it's not clear.

Did you follow the App Engine instructions?

Post code, if you can.

Perhaps the most important thing to try: see if you can use PIL from a non-App Engine script. Just write a quick Python script that accesses it and see how that goes. Something like:

import Image
im = Image.open('filename.png')
im.show()

If that doesn't work, it's not surprising that Google App Engine wouldn't work with PIL.

相关阅读

技术问答最新文章