Installation of PIL under Ubuntu
Problem
Using PIL, I ran in the following error: “decoder zip not available”.
Solution
I found the solution here. Here I make a summary:
sudo pip uninstall PIL sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib sudo pip install -U PIL
Credits
Tip from here.
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
