Hi, On Thu, Jan 14, 2010 at 3:29 PM, Andrew Bialecki <[email protected]>wrote:
> 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. > Does the 'facebook' folder contain a file named __init__.py? 'import facebook' looks for this file and imports it. -Nick Johnson > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
