ubuntu下google app engine的dev_appserver.py启动报缺失PIL module的warning的解决办法

在ubuntu下使用 python dev_appserver.py 站点名称 启动站点调试,有时可以看到两个错误,一个错误是说找不到与datastore相关的warning,这个是由于第一次启动该站点的缘故其次便是这个错误:

"Could not initialize images API" you are likely missing the Python "PIL" module. ImportError: No module named PIL

PIL模块也可以由其他模块代替,但是如果要使用Python Image Library的话,运行
sudo apt-get install python-imaging即可

posted @ 2008-06-21 02:28  new 维生素C.net()  阅读(604)  评论(0编辑  收藏  举报