Skip to content

Instantly share code, notes, and snippets.

@rizkyabdilah
Created February 24, 2012 05:39
Show Gist options
  • Save rizkyabdilah/1898053 to your computer and use it in GitHub Desktop.
Save rizkyabdilah/1898053 to your computer and use it in GitHub Desktop.
patched setup.py in PIL, work in ubuntu x86_64
# add last 3 line in line 150 file setup.py
add_directory(library_dirs, "/lib64")
add_directory(library_dirs, "/usr/lib64")
add_directory(library_dirs, "/usr/lib/x86_64-linux-gnu")
@rizkyabdilah
Copy link
Author

add this 3 line in line 150 file setup.py
patch decoder jpeg not found/supported
PIL 1.1.7 / Imaging 1.1.7

don't forget to install this package first
sudo apt-get install libjpeg62-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libfreetype6-dev
sudo apt-get install liblcms1-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment