【发布时间】:2012-05-26 09:00:39
【问题描述】:
我正在使用 Nginx、Gunicorn 和 Django 1.4 在 Ubuntu 12.04 上运行一个新的 Linode。上传到图像字段(在本地工作)声称文件已损坏或无效,包括在本地工作的图像。
PIL 有效。我可以加载、检查和收集图像的各种属性。
我也在使用 virtualenv。
有什么建议吗?
更多信息:
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version 1.1.7
platform linux2 2.7.3 (default, Apr 20 2012, 22:44:07)
[GCC 4.6.3]
--------------------------------------------------------------------
*** TKINTER support not available
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------
这是 pip install PIL 结束时的输出。问题是,为什么不提供对无的支持?
【问题讨论】:
标签: ubuntu nginx python-imaging-library django-models gunicorn