views:

65

answers:

1

I'm trying to intergrate Facebook Connect into an GAE app. I've got a basic folder structure like so:

/gae-root
    /myapp
        /templates
        /etc
    app.yaml
    settings.py

and I tried to add the PyFacebook library like so:

/gae-root
    /myapp
        /templates
        /etc
    /facebook
        /djangofb
    app.yaml
    settings.py

I thought this would work, but now when I try to import facebook it throws a module not found error. What's even weirder is that if I rename the directory from facebook to foo, the import now works but I'll hit errors later when I try to get the current logged in user.

Literally all I did was move the directory into my folder structure and try an import. What am I missing? Sorry if this is an easy question.

A: 

It was a problem with an extra .pth file in my site-packages directory.

Bialecki