我正在尝试运行Django + GAE应用,但是我遇到了导入错误:
File "C:\Users\abatutin\Downloads\chapter10\chapter10\webapp-chapter10-simpleform\webapp-chapter10-simpleform\simpleform.py", line 7, in <module>
from google.appengine.ext.db import djangoforms
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\db\djangoforms.py", line 97, in <module>
import django.core.exceptions
ImportError:没有名为django.core.exceptions的模块
Python 2.7 Django 1.5.1 - 适用于Windows的GAE发行版。
有什么想法吗?
yaml文件
application: simpleform
version: 1
runtime: python
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /*.
script: simpleform.py