I usually just have the facebook.py file in the same folder as main.py and it is able to import facebook just fine.
- Anand. On Jan 14, 10:31 am, Andrew Bialecki <andrew.biale...@gmail.com> wrote: > I'm trying to intergrate Facebook Connect into a 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?
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.