I have updated my django to version 1.11 with pip and now django does not
recognise that I have pillow installed. I get the {{{Cannot user
ImageField because Pillow is not installed}}}. However pillow is installed
as {{{pip install -U pillow}}} tells me and I can also do {{{import PIL}}}
with no problems.
This problem also did not occur before I upgraded from 1.10 to 1.11. Are
there people who can reproduce this and maybe know how to fix it?
--
Ticket URL: <https://code.djangoproject.com/ticket/28022>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => needsinfo
Comment:
AFAIR, nothing changed from Django 1.8 in this regard. In
`django/db/models/fields/files.py` Django is doing `from PIL import Image`
to detect pillow installs. I would suggest searching for help in Django
support channels to find out if Django is at fault or not.
--
Ticket URL: <https://code.djangoproject.com/ticket/28022#comment:1>
Comment (by Tim Graham):
Confirming that resolution, I see no problem when testing
[https://github.com/django/djangoproject.com/ djangoproject.com] (which
uses `ImageField`) with Django 1.11 and Pillow 4.1.0.
--
Ticket URL: <https://code.djangoproject.com/ticket/28022#comment:2>