When I try to import the MongoEngine class with ImageField, the error says:
mongoengine.fields.ImproperlyConfigured: PIL library was not found
My class structure is as follows:
class TrafficSign(Document):
name = StringField()
image = ImageField()
type = StringField()
desc = StringField()
source = StringField()
What is the problem?
source
share