I am trying to use PIL/Pillow in my django app, running in virtualenv, for eventual deployment to Heroku.
Steps I have done:
- started virtualenv (source venv/bin/activate)
- pip install pillow
Output:
clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard- error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
error: command 'cc' failed with exit status 1
otherwise, there were a lot of copied files:
e.g. copying PIL/__init__.py -> build/lib.macosx-10.9-intel-2.7/PIL
However, running python manage.py runserver fails with the error message in the title. Tried pip install pil and does not work. Any inkling on how to fix?