Follow this: appengine & virtualenv
And then in your .vimrc, be sure to have the following lines:
py << EOF import dev_appserver dev_appserver.fix_sys_path() EOF
Vim pythoncomplete relies on successful compilation of modules. If one of your modules has a reference to a Google App Engine package, it fails to compile in the Vim environment because the GAE path hasn’t been added. By using the code snippet above in .vimrc or any file that gets sourced prior to running Vim, you are effectively adding the GAE paths to the Vim environment.



