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