Google App Engine的dev_appserver.py出错

时间:2011-04-11 14:46:07

标签: google-app-engine ubuntu

我正在尝试在ubuntu上使用Google App Engine但是我遇到了python SDK的这些错误

Traceback (most recent call last):
  File "google_appengine/dev_appserver.py", line 78, in <module>
    run_file(__file__, globals())
  File "google_appengine/dev_appserver.py", line 74, in run_file
    execfile(script_path, globals_)
  File "/home/user/Downloads/google_appengine/google/appengine/tools/dev_appserver_main.py", line 118, in <module>
    from google.appengine.tools import appcfg
  File "/home/user/Downloads/google_appengine/google/appengine/tools/appcfg.py", line 68, in <module>
    from google.appengine.tools import appengine_rpc
  File "/home/user/Downloads/google_appengine/google/appengine/tools/appengine_rpc.py", line 27, in <module>
    import fancy_urllib
  File "/home/user/Downloads/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", line 341, in <module>
    class FancyHTTPSHandler(urllib2.HTTPSHandler):
AttributeError: 'module' object has no attribute 'HTTPSHandler'

编辑:问题已在您的帮助下解决了,非常感谢!

1 个答案:

答案 0 :(得分:1)

看起来你安装的python没有编译SSL。这基本上是同一个问题:

How do I configure multiple Ubuntu Python installations to avoid App Engine's SSL error?