Last active
August 29, 2015 14:16
-
-
Save nunenuh/c6b6e4cb480b2afeb2f0 to your computer and use it in GitHub Desktop.
Python PIL (Crop Resize Image) install requirement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get build-dep python-imaging python-dev | |
sudo apt-get install libjpeg62 libjpeg62-dev | |
sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev | |
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 ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/ | |
pip install Pillow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment