According to the Google AppEngine documentation, you should import memcache as follows:
from google.appengine.api import memcache
I use virtualenv and I create some scripts to test the library that I created for AppEngine. I am not trying to test a website, I am trying to test a specific library using memcache. Obviously, without using dev_appserver.py I get ImportError: No module named google.appengine.api .
I looked at the source dev_appserver.py , but first I would like to know if there is a simpler solution that would not require rewriting PATH, as Google does.
Thanks!
source share