ERRORS: users.UserProfile.image: (fields.E210) Cannot use ImageField because Pillow is not installed

  • Post author:
  • Post category:其他


ERRORS:



项目场景:


提示:这里简述项目相关背景:

Django模型




问题描述:


Django创建牵引文件报错ERRORS:

users.UserProfile.image: (fields.E210) Cannot use ImageField because Pillow is not installed.

HINT: Get Pillow at https://pypi.org/project/Pillow/ or run command “pip install Pillow”.

pip install pillow -i https://pypi.douban.com/simple



原因分析:


底层缺少依赖包,安装一下就好了




版权声明:本文为m0_47380857原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。