当我尝试导入具有ImageField的MongoEngine类时,出现错误:
mongoengine.fields.ImproperlyConfigured: PIL library was not found
我的班级结构是这样的:
class TrafficSign(Document):
name = StringField()
image = ImageField()
type = StringField()
desc = StringField()
source = StringField()
问题是什么?