Created
June 8, 2016 15:40
-
-
Save evansde77/3f609d578e5d0260b3c0df2d2ffce4b6 to your computer and use it in GitHub Desktop.
Steps to install libjpeg and pillow on Max OSX 10.11.15 (assumes XCode, XCode command line tools etc)
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 chmod -R a+rw /usr/local/src | |
mkdir /usr/local/src | |
chmod a+rw -R /usr/local/src | |
curl --remote-name http://www.ijg.org/files/jpegsrc.v9b.tar.gz | |
tar -xzvf jpegsrc.v9b.tar.gz | |
cd jpeg-9b | |
./configure --enable-shared --enable-static | |
make | |
sudo make install | |
sudo ranlib /usr/local/lib/libjpeg.a | |
export LD_LIBRARY_PATH=/usr/local/lib | |
pip install pillow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment