If you put the module in the application's /modules folder, you don't need to specify the full path -- just do:
from facebook import * However, I think there may be in issue with the custom importer that results in an ImportError if there is any error in the module being imported (perhaps it is trying to import a dependency that you don't have). So the real error might not be a failure to find the facebook module. Anthony On Thursday, April 5, 2012 2:26:12 AM UTC-4, Amit wrote: > > > > Hi, > I have downloaded and extracted Facebook sdk and trying to use in my > web2py application, I have uploaded facebook.py in my application's Modules > and trying to import using the statement > "from applications.facebook.modules.facebook import * " in default.py > class and when i try to run its giving error "<type > 'exceptions.ImportError'> No module named facebook.modules.facebook". > I am new to web2py development so not sure whether i did something wrong > or not, so please guide me to resolve this issue. > > Regards, > Amit >

