I\'m using Ubuntu 12.04 and I\'m in PIL-hell. I\'ve tried every suggestion I can find online for ways to install PIL, but I have no luck. I know for a fact I have every de
If you are running on Ubuntu 64 bit another step may be needed in addition to Marwan ones:
PIL setup looks for libraries in /usr/lib
but Ubuntu 64 places them on /usr/lib/x86_64-linux-gnu
. A working solution is to create links:
sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
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