Google App engine遇到的第一個問題

November 11, 2009 12:58 pm

如果下載了appengine,按照google的入門文件想跑第一個helloword,會遇到一個莫名其妙的KeyError。

KeyError: "There is no item named 'simplejson\\\\_speedups.pyd' in the archive"

網路上找到解法,事實上我安裝的1.2.7版仍然有這個問題:
這是1.2.5版SDK的一個bug,原因是其混淆了simplejson的版本。可以在python的lib\site-packages刪除 simplejson對應的egg文件(比如simplejson-2.0.9-py2.5-win32.egg),dev_appserver.py就可以正常運行了。

比起問題本身,更令人訝異的是Google會犯下這種錯誤……

尚無回應 to “Google App engine遇到的第一個問題”

要留言乎?