下載包GAE 1.8.0.dgm我的Mac OS 10.7後,我想一個例子從谷歌,和IM導入此時:GAE錯誤django.core.exception
from google.appengine.ext.db import djangoforms
我得到這個錯誤:
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/python/request_handler.py", line 156, in handle_interactive_request
exec(compiled_code, self._command_globals)
File "<string>", line 8, in <module>
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/db/djangoforms.py", line 97, in <module>
import django.core.exceptions
ImportError: No module named django.core.exceptions
我在交互式控制檯和應用嘗試這種自己
我需要安裝其他的包?
是否安裝了django?驗證通過從python shell執行'import django' – karthikr
是的安裝 –
另外,驗證python是否在路徑中:http://stackoverflow.com/questions/312549/no-module-named-django-core – karthikr