Question: It's weird to me that the import fails even when it's in the `sys.path`.

today, I set up a google app engine django environment on ubuntu in my lab's pc. And it works fine when I checked out the code and ran it in windows(same pc in the lab).

But when I went to the dorm, and checked out the code and start to run, it failed weirdly.

I print the `sys.path`, like this:

```
['/home/tower/googlecode/mygae', '/home/tower/googlecode/mygae/.google_appengine', '/home/tower/googlecode/mygae/.google_appengine/lib/antlr3', ...]

```

and when I ran python complained 

```
from google.appengine.api import apiproxy_stub_map
ImportError: No module named appengine.api

```

it's easy to know the google module is in the `'/home/tower/googlecode/mygae/.google_appengine'`
directory, and the`__init__.py` for each module is present.

So what can be the reason for this weird thing? Or what I messed up probably? 

thanks.

Answer: 
Can you import `google` and `google.appengine`?
Are you sure interpreter has read and traverse access rights to the module tree?
I had the same problem on **Ubuntu** when I wanted to play with **google.appengine** in console. First I tried to fix it by removing the `/usr/lib/python2.7/dist-packages/google` package altogether but **Ubuntu One** complained. Finally I resolved it by merging the **GAE SDK google package** into the **package that caused the collision**.

The contents of the `/usr/lib/python2.7/dist-packages/google` dir now look like this:

```
/google
    /appengine
    /net
    /protobuf
    /pyglib
    /storage
    /__init__.py
    /__init__.pyc

```