Neither Pillow Nor PIL Could Be Imported: No Module Named Image
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 ins
Solution 1:
UPDATE: oh found the answer
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pillow
the unused arguments was preventing further install of pillow. the above tells it to not treat the unused argument as an error.
Found at (To Read more): Can't install mysql gem on OS X
Solution 2:
I had the same issue with virtualenv and Django, following command fixed that:
easy_install PIL
Post a Comment for "Neither Pillow Nor PIL Could Be Imported: No Module Named Image"