title: Importing memcache from google.appengine.api without using dev_appserver.py
body: <p>According to the Google AppEngine documentation, one should import memcache like this:</p>
  
  <pre><code>from google.appengine.api import memcache
  </code></pre>
  
  <p>I'm using a virtualenv and I'm creating some scripts to test a library I created for AppEngine. I am not trying to test a website, I am trying to test a specific library that uses memcache. Evidently, without using <code>dev_appserver.py</code> I get an <code>ImportError: No module named google.appengine.api</code>.</p>
  
  <p>I had a look at the <a href="https://gist.github.com/1757540" rel="nofollow">source</a> of <code>dev_appserver.py</code> but first I'd like to know if there is a simpler solution that would not require rewriting PATH as Google does.</p>
  
  <p>Thanks!</p>