关于修正UBUNTU下PIL错误 IOError: decoder zip not available
第一步,卸载PIL
1 | easy_install pip//没有的话可以先安装 |
第二步,下载ZLIB
下载地址:http://www.zlib.net/
也可以去:https://sourceforge.net/projects/libpng/?source=dlp
第三步,安装ZLIB
1 | ./configure |
第四步,安装PIL
1 | pip install pil |
参看文章:
1,http://www.linuxdiyf.com/viewarticle.php?id=107892
3,http://obroll.com/install-python-pil-python-image-library-on-ubuntu-11-10-oneiric/