Odoo Help

1

IOError: decoder zip not available

By
Antanas
on 5/2/13, 8:58 AM 10,038 views

Hello,

I am unable to install new modules any more (could do that before). It seems to me that I did not uninstall anything required from system or virtualenv, but at each attempt to install a module I get:

IOError: decoder zip not available

PIL is also mentioned in traceback.

Openerp 7 server runs in virtualenv, on Linux Mint 14 system.

You dont write "[SOLVED]" - just click on the the tick of the answer that you believe solves the question - if none of them solve the question then write your own answer :)

Cameron
on 5/2/13, 11:21 AM

It WAS my answer, I cannot click on it yet.

Antanas
on 5/2/13, 11:22 AM
5
Hilar
On 11/1/16, 2:22 AM

Follow these commands..

$ pip uninstall pillow

$ pip uninstall Pillow

$ sudo apt-get install libjpeg-dev zlib1g-dev

$ pip install -I Pillow

2

Try this. It worked

sudo pip install -I pillow

2
Antanas
On 5/2/13, 10:09 AM

Solved this way: Uninstalled PIL from virtualenv:

pip uninstall PIL

installed PIL again using:

easy_install http://dist.plone.org/thirdparty/PIL-1.1.7.tar.gz

thinks for the answer, actually it solves one of the problems I had with PIL in the past months

Gustavo
on 5/2/13, 10:34 AM

this solved the issue for me, but I used "pip install http://dist.plone.org/thirdparty/PIL-1.1.7.tar.gz"

Julian Perelli
on 5/21/13, 5:25 PM
1
Mario J.
On 9/19/13, 6:29 PM

Install

apt-get install install libjpeg62 libjpeg62-dev zlib1g-dev libfreetype6 libfreetype6-dev

In x86_64:

ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib

In i386:

ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib/
ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/
ln -s /usr/lib/i386-linux-gnu/libjpeg.so /usr/lib/

Reinstall PIL

pip install -U PIL

Thank you, will try this.

Antanas
on 9/20/13, 9:09 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 5/2/13, 8:58 AM
Seen: 10038 times
Last updated: 11/1/16, 2:22 AM