fatal error: 'freetype/fterrors.h' file not found when building PIL on Mac OS X
Closed this issue · 0 comments
hustcalm commented
Under the instructions at:
curl -O -L http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz
tar zxvf Imaging-1.1.7.tar.gz
cd Imaging-1.1.7
python setup.py build --force
sudo python setup.py install
Got fatal error: 'freetype/fterrors.h' file not found when running python setup.py build --force
.
Solutions:
ln -s /usr/local/include/freetype2 /usr/local/include/freetype