Forums

blog.Post.cover: (fields.E210) Cannot use ImageField because Pillow is not installed.

But I have checked that I already have Pillow for sure.

--> 129 static files copied to '/home/RastoRubin/rastorubin.pythonanywhere.com/static'.
< Running migrate database >
   \
    ~<:>>>>>>>>>
SystemCheckError: System check identified some issues:
ERRORS: blog.Post.cover: (fields.E210) Cannot use ImageField because Pillow is not installed.
        HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command "python -m pip install Pillow".

[edit by admin: formatting]

Did you install it for the same version of Python that your app is using?

I think that yes -->

08:07 ~ $ python -m pip install Pillow
Defaulting to user installation because normal site-packages is not writeable
Looking in links: /usr/share/pip-wheels
Requirement already satisfied: Pillow in /usr/local/lib/python3.10/site-packages (9.0.0)

[edit by admin: formatting]

Your website is using a virtualenv; you'll need to start a Bash console in the virtualenv (use the link in the virtualenv section of the "Web" page to do that) and then run that command there.