Unable to find the Python PIL library.Google App E

2019-04-20 18:23发布

Installed the Google App Engine SDK.Python 2.6 perfect. Wanted to go into images, and test locally.Installed PIL

Installed Python, then ran the PIL install, worked this time.

Things seemed good, but trying to do localhost image manipulation gives:

"NotImplementedError: Unable to find the Python PIL library.  Please
 view the SDK documentation for details about installing PIL on your system."

System : winxp

7条回答
孤傲高冷的网名
2楼-- · 2019-04-20 19:05

On Ubuntu with python2.5 the following helps:

new repo: ppa.launchpad.net/fkrull/deadsnakes/ubuntu

sudo apt-get install python2.5 python2.5-dev libjpeg62 libjpeg62-dev

untar: http://effbot.org/media/downloads/Imaging-1.1.6.tar.gz

cd Imaging-1.1.6

edit setup.py line 38: JPEG_ROOT = libinclude("/usr/lib")

sudo python2.5 setup.py install

Done

查看更多
登录 后发表回答