I use django mdoels to create imagefield field in a table,but when i use "python manage.py sqlall books" command it print the fllowing error:
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
399, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management\__init__.py", line
392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 242,
in run_from_argv
self.execute(*args, **options.__dict__)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 284,
in execute
self.validate()
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 310,
in validate
num_errors = get_validation_errors(s, app)
File "C:\Python27\lib\site-packages\django\core\management\validation.py", lin
e 113, in get_validation_errors
from django.utils.image import Image
File "C:\Python27\lib\site-packages\django\utils\image.py", line 154, in <modu
le>
Image, _imaging, ImageFile = _detect_image_library()
File "C:\Python27\lib\site-packages\django\utils\image.py", line 108, in _dete
ct_image_library
_("Neither Pillow nor PIL could be imported: %s") % err
django.core.exceptions.ImproperlyConfigured: Neither Pillow nor PIL could be imp
orted: No module named Image