Python 异常1:users.UserProfile.image: (fields.E210) Cannot use ImageField because Pillow is not instal

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".

该异常说明底层缺少依赖包,所以安装一下就好了
打开cmd,输入命令安装

D:\pythonEnviron>pip install pillow -i https://pypi.douban.com/simple

你可能感兴趣的:(Python,Exception,python,运行报错)