Cannot use ImageField because Pillow is not installed

2,415 views
Skip to first unread message

Leonardo Mateo

unread,
Apr 8, 2018, 9:10:59 AM4/8/18
to Wagtail support
For the past day I have been getting the below error message when trying to migrate, and because of this error message I can't go beyond this point. I have tried different troubleshooting steps that I have googled, but no avail.

"ERRORS:
wagtailimages.Image.file: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".
wagtailimages.Rendition.file: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".

When I do "pip freeze", I can see that pillow==5.1.0 is installed in my virtual environment. My virtual environment is also based on python3.6.5.

Her is my "pip free" result.

beautifulsoup4==4.6.0
certifi==2018.1.18
chardet==3.0.4
Django==2.0.4
django-modelcluster==4.1
django-taggit==0.22.2
django-treebeard==4.2.1
djangorestframework==3.8.2
draftjs-exporter==2.0.0
html5lib==0.999999999
idna==2.6
Pillow==5.1.0
pytz==2018.3
requests==2.18.4
six==1.11.0
Unidecode==0.4.21
urllib3==1.22
wagtail==2.0.1
webencodings==0.5.1
Willow==1.1

Can someone please  provide some resources / guidance on how to resolve this?

Thanks,

Leo

Leonardo Mateo

unread,
Apr 8, 2018, 9:26:57 AM4/8/18
to Wagtail support
I was able to resolve the issue by uninstalling Pillow==5.1.0 and installing Pillow==4.3.0
Reply all
Reply to author
Forward
0 new messages