2012-12-02 17 views
0

我已經下載了google_appengine_1.7.3.zip 並遵循給出的指導方針,並對.bashrc as given here進行了必要的更改。 這是我的main.pyapp.yaml,它們位於名爲udacity的文件夾中。麻煩運行應用程序引擎python sdk

在我的終端中輸入以下,

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

我得到了following message 我使用Ubuntu 11.10。 請幫忙!

+2

一些快速[google搜索](https://www.google.com/search?q =否+ address + associated + with + hostname)指出這是DNS的問題。 – Natan

+0

感謝您指出的方式! – pyronic

回答

2

在我的文件/ etc/hosts中沒有與本地主機相對應的IP。因此,它未能從域名IP - 本地主機 以下行添加到文件/ etc/hosts中

127.0.0.2 localhost 

reference