I have downloaded the GAE SDK and would like to use its api from the python shell.
I have placed the following in my .bashrc where google_appengine is the folder where I have unzipped the SDK –
#GAE
export PATH=$PATH:/opt/google_appengine/
Now I have created a new project using virtualenv. When I fire up a python shell and try to use its api, I get the following error –
>>> from google.appengine.ext import db
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named google.appengine.ext
Can someone please help me debug this ?
The AppEngine can’t be run from the Python shell, there too much wireup that needs to be done (and done by dev_server) in order for the platform to work.
What you can do is have a AppEngine application that is an interactive Python console (Live) that can run the AppEngine platform and all supported python libraries.