I confirm that following these steps I can install Pillow on Mavericks 10.9.2 with XCode 5
1:
brew install libtiff libjpeg webp littlecms
2: go to here https://pypi.python.org/pypi/Pillow/2.3.1
downalod the zip file and unzip it.
3: open a Terminal window and go to Pillow-2.3.1 folder in Terminal.
4: these two lines are extremely important because they will ignore the errors during installation of Pillow, without these two lines the setup cannot be finished (I am using python 2.7 so you may need to change whatever version you use):
sudo sed -i '' -e 's/-mno-fused-madd//g' /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.py
sudo rm /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.pyc
5: run command
sudo python setup.py install
Done!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…