Follow the steps on how to install PIL:
1 install the needed libraries
sudo apt-get install libjpeg-dev libpng-dev zlib1g-dev liblcms1-dev python-dev
2 install the dependencies needed to build PIL
sudo apt-get build-dep python-imaging
3 run these commands
sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib/ sudo ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib/ sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so /usr/lib/
4 Lastly, install PIL
pip install PIL
You should at least see this somewhere
--- JPEG support available --- ZLIB (PNG/ZIP) support available --- FREETYPE2 support available
No comments:
Post a Comment