Skip to content

Instantly share code, notes, and snippets.

@fepa
Created June 9, 2012 16:44
Show Gist options
  • Save fepa/2901712 to your computer and use it in GitHub Desktop.
Save fepa/2901712 to your computer and use it in GitHub Desktop.
Install and symlink dependancies for PIL on Ubuntu 32bit
# Install dependancies
# $ sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
# Script itself symlinks
ln -s /usr/lib/i386-linux-gnu/libjpeg.so /usr/lib
ln -s /usr/lib/i386-linux-gnu/libfreetype.so /usr/lib
ln -s /usr/lib/i386-linux-gnu/libz.so /usr/lib
# Then install PIL
# pip install -U PIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment