Decoder zip not available

Source: Internet
Author: User

The error "decoder zip not available" was reported when openerp printed the sales quotation. Google found a problem with Pil installation.

 

Original installation method:

 
$WgetHTTP://Effbot.org/media/downloads/pil-1.1.7.tar.gz$TarZxvf Pil-1.1.7.Tar. GZ $ CD PIL-1.1.7$ Python setup. pyInstall

 

The root cause is that the necessary dependent libraries (JPEG, zlib, and FreeType) are not detected during installation ):

 $ Python setup. py build_ext-I -------------------------------------------------------------------- PIL  1.1 . 7  Setup Summary -------------------------------------------------------------------- Version  1.1 . 7  Platform linux2  2.6 . 6 (R266: 84292 , Feb 22   2013 , 00 : 00 : 18  ) [Gcc  4.4 . 7   20120313 (Red Hat 4.4 . 7 - 3  )] --------------------------------------------------------------------*** Tkinter support not available *** JPEG support not available * ** Zlib (PNG/ Zip) support not available *** FreeType2 support not available *** Littlecms support not available --------------------------------------------------------------------

 

Install the dependency Library (centos 6.4 64bit ):

 
$Yum InstallLibjpeg-Turbo-Devel $Yum InstallZlib-Devel $Yum InstallFreeType-Devel $Yum InstallLcms-devel

 

Reinstall Pil:

 
$ Python setup. py install

 

Refer:

1. Install Python Pil module in 64-bit centos

2. Install Pil (Python imaging Library)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.