Friday, June 27, 2014

Unable to use Fontawesome because of library PIL

Was trying to use fontawesome library to generate PNG files. However, met many errors along the way. In simple steps:

1. downloaded and installed brew

2. sudo brew install freetype

3. sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pillow

4. python fontawesome.py --size 128 play

No comments: