简体   繁体   中英

PIL IOError: decoder zip not available after built with ZLIB support

I've pointed setup.py towards /lib where my libz.so is. When I then run setup.py install , I get the ZLIB support confirmed:

--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version       1.1.7
platform      linux2 2.7.2 (default, Feb  8 2013, 11:05:21)
              [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
--------------------------------------------------------------------
*** TKINTER support not available
*** JPEG support not available
--- ZLIB (PNG/ZIP) support available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------

But then, after install, I still get the error:

IOError: decoder zip not available

我已经通过下载zlib源代码,对其进行构建并将Image构建指向该问题来解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM