我正在尝试学习Python,并认为我要构建一个应用程序来托管GAE,因为它是免费的。
我在这里关注本指南:http://code.google.com/appengine/docs/python/gettingstartedpython27/helloworld.html
并且在我的helloworld目录中有确切的文件:helloworld.py和app.yaml,但是当我启动它时,我收到此错误:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 187, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "C:\Program Files\Google\google_appengine\google\appengine\runtime\wsgi.py", line 225, in _LoadHandler
handler = __import__(path[0])
ImportError: No module named helloworld
INFO 2012-03-21 19:36:47,219 dev_appserver.py:2865] "GET / HTTP/1.1" 500 -
Python对我来说仍然是一个希望,当你对某些东西感到陌生时,对环境配置的挣扎并不好玩。我做错了什么?是否比安装GAE / J更重要?