ERRORS: app1.Book.photo: (fields.E210) Cannot use ImageField because Pillow is not installed.

报错:
(env) E:\pyAPP\mybook>python manage.py makemigrations
SystemCheckError: System check identified some issues:

ERRORS:
app1.Book.photo: (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".

解决方案

pip install pillow
posted @ 2023-01-29 11:16  侬侬发  阅读(36)  评论(0编辑  收藏  举报