I get this error when running dev_appserver.py
just after installing GAE on Ubuntu 2011.04:
Traceback (most recent call last):
File "dev_appserver.py", line 77, in <module>
run_file(__file__, globals())
File "dev_appserver.py", line 73, in run_file
execfile(script_path, globals_)
File "/home/nico/p/appengine-python-1.5.3/google/appengine/tools/dev_appserver_main.py", line 156, in <module>
from google.appengine.tools import dev_appserver
File "/home/nico/p/appengine-python-1.5.3/google/appengine/tools/dev_appserver.py", line 94, in <module>
import zlib
ImportError: No module named zlib
Any idea what's going wrong?
Installing was a bit tricky because GAE only supports Python 2.5:
- Download the latest Python 2.5.*
./configure --with-zlib
(I also tried without the with-zlib option, same result)- If you have
/usr/include/sqlite3.h
then remove it because GAE does not compile if present - make