I have to develop web2py app and have to use Facebook sdk in that. I have downloaded facebook sdk zip folder to my windows pc and extarct it and uploaded facebook.py module to my web2py application and using statement "from applications.modules.facebook import * " in controller/default.py and when i run the application its giving below error:
No module named modules.facebook.
when i browse to application directory, I found facebook.py inside modules folder so not able to find what is the problem.
Please guide me to resolve it.
Regards, Piks
Every directory in a module's path up to the module's root package should contain an __init__.py
file. My guess is that your applications/modules/
directory is missing one.