If the folder is in "modules", it won't be in gluon.contrib... you'd need 
to put it in web2py/gluon/contrib, I would guess, though that didn't work 
for me either. The best solution I found was to put external packages (in 
my case jsonpickle) in web2py/site-packages, at which point it can be 
imported normally, but it won't be packaged with your app that way either. 
(My app is on pythonanywhere, so I just opened a bash console and used pip 
to install jsonpickle to the pythonanywhere web2py.)

On Wednesday, March 18, 2015 at 12:50:30 PM UTC-4, Marlysson Silva wrote:
>
> Hi people, I'm trying to authenticate a user by linkedin using a library 
> python-linkedin, I put the folder of lib at folder "modules" of web2py, and 
> i use the class of library for to use the method of authenticate linkedin 
> that the web2py allows:
>
> from gluon.contrib.login_methods.linkedin_account import LinkedInAccount
> auth.settings.login_form=LinkedInAccount()
>
> But web2py show that haven't a atribute Linkedin,and this atribute is of 
> library python-linkedin *unsure emoticon*, I verified and no there same.
>
> Anyone already did make this method of authentication for me help.
>

-- 
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/d/optout.

Reply via email to