0

我按照本指南的大纲(http://www.instructables.com/id/Aquaponics-Online-Temperature-and-Humidity/step3/Testing-GAE-SDK/),所以我可以尝试创新设计我自己的鱼菜共生系统。但是,当我在终端中输入“$ python2.7 AppEngine/dev_appserver.py IAquaponics_DHT/myapsystem”时,我收到一个错误:http://i.imgur.com/ueO4MA1.jpg 我的堆栈跟踪如下)。

注意:“ _ _”是空白我的名字。

____@____-Linux:~$ python2.7 AppEngine/dev_appserver.py 
Traceback (most recent call last):
  File "AppEngine/dev_appserver.py", line 182, in <module>
    _run_file(__file__, globals())
  File "AppEngine/dev_appserver.py", line 178, in _run_file
    execfile(script_path, globals_)
  File "/home/____/AppEngine/google/appengine/tools/devappserver2/devappserver2.py", line 32, in <module>
    from google.appengine.tools.devappserver2.admin import admin_server
  File "/home/____/AppEngine/google/appengine/tools/devappserver2/admin/admin_server.py", line 25, in <module>
    import webapp2
  File "/home/____/AppEngine/lib/webapp2-2.5.1/webapp2.py", line 25, in <module>
    import webob
  File "/home/____/AppEngine/lib/webob-1.2.3/webob/__init__.py", line 3, in <module>
    from webob.response import *
  File "/home/____/AppEngine/lib/webob-1.2.3/webob/response.py", line 9, in <module>
    import zlib
ImportError: No module named zlib
4

1 回答 1

1

您是否尝试过(在终端窗口中运行 enter this 以安装 zlib 的安装包)

    sudo apt-get install zlib

从那里开始

于 2013-05-28T20:21:48.717 回答