麻烦运行应用程序引擎python sdk

时间:2012-12-02 18:10:42

标签: python google-app-engine installation ubuntu-11.10

我已下载google_appengine_1.7.3.zip 并遵循给出的指导原则并对.bashrc进行必要的更改 as given here。 以下是我的main.pyapp.yaml,它们位于名为udacity的文件夹中。

在我的终端中输入以下内容时

python google_appengine/dev_appserver.py --use_sqlite --port=1234 genprojects/udacity/

我得到following message 我正在使用Ubuntu 11.10。 请帮忙!

1 个答案:

答案 0 :(得分:2)

在我的文件/ etc / hosts中没有对应于localhost的ip。因此无法从域名获取IP - localhost 将以下行添加到文件/ etc / hosts

127.0.0.2   localhost

reference