#28022 closed Bug (needsinfo)
pillow not being recognised
Reported by: | fboerman | Owned by: | nobody |
---|---|---|---|
Component: | Core (System checks) | Version: | 1.11 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
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?
Change History (2)
comment:1 by , 8 years ago
Resolution: | → needsinfo |
---|---|
Status: | new → closed |
comment:2 by , 8 years ago
Confirming that resolution, I see no problem when testing djangoproject.com (which uses ImageField
) with Django 1.11 and Pillow 4.1.0.
AFAIR, nothing changed from Django 1.8 in this regard. In
django/db/models/fields/files.py
Django is doingfrom 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.