请耐心等待,因为我对 Python 和 Django 还是很陌生
我将我正在处理的项目从我的大学 PC 复制到 USB,当我将它加载到我的笔记本电脑并尝试在 cmd 中使用以下代码运行它时:python manage.py runserver
我收到了这个错误:
Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x01D4EB70>>
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django\core\management\commands\runserver.py", line 91, in inner_run
self.validate(display_num_errors=True)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 270, in validate
raise CommandError("One or more models did not validate:\n%s" % error_text)
django.core.management.base.CommandError: One or more models did not validate:
groupcraft.userprofile: "picture": To use ImageFields, you need to install the Python Imaging Library. Get it at http://www.pythonware.com/products/pil/
有人可以告诉我什么是错的或我没有做什么?