Try just doing:
import requests
Anthony
On Monday, March 3, 2014 11:15:33 AM UTC-5, Avi A wrote:
>
> Hi,
> I need some help with implementing "requests" library.
> What I did:
> I have cloned the requests library to my app modules app. (didn't
> "install" anything)
> I tried these both options I found, one at a time:
> requests = local_import('requests')
> from modules import requests
> And in both cases I got:
>
> ImportError: No module named modules
>
>
> Thanks.
>
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.