Flair
Flair

Reputation: 2907

How can I fix this error when executing GAE SDK in Ubuntu?

I was following the outlines of this guide (http://www.instructables.com/id/Aquaponics-Online-Temperature-and-Humidity/step3/Testing-GAE-SDK/), so I can try to innovate the design for my own aquaponic system. However, when I typed "$ python2.7 AppEngine/dev_appserver.py IAquaponics_DHT/myapsystem" into my terminal, I received an error: https://i.sstatic.net/cfn2d.jpg (my stacktrace is below).

note: "__" is to blank out my name.

____@____-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

Upvotes: 0

Views: 311

Answers (1)

John b
John b

Reputation: 1398

Have you tried (run enter this in the terminal window to install the install a package for zlib)

    sudo apt-get install zlib

start there

Upvotes: 1

Related Questions