谷歌应用引擎的dev_appserver.py出错



我试图在ubuntu上使用谷歌应用程序引擎,但我得到了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'

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

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

我如何配置多个Ubuntu Python安装以避免App Engine's SSL错误?

最新更新