【问题标题】:Trouble running app engine python sdk运行应用程序引擎 python sdk 时出现问题
【发布时间】:2012-12-02 18:10:42
【问题描述】:

我已经下载了 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。 请帮忙!

【问题讨论】:

  • 一些快速的googling 指出这是 DNS 的问题。
  • 感谢指路!

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


【解决方案1】:

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

127.0.0.2   localhost

reference

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-12-03
    • 2014-03-17
    • 1970-01-01
    • 2019-02-07
    • 1970-01-01
    • 2015-06-03
    • 2015-06-03
    相关资源
    最近更新 更多