I have also now tried with  http://code.google.com/p/python-linkedin/, but 
that gave me the   "<type 'exceptions.ImportError'> No module named 
gluon.contrib.login_methods.linkedin_account"  error.

To debug, I tried following the guide on their Google Code page, and was 
able to get an error:

>>> from linkedin import helper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\linkedin\helper.py", line 2, in <module>
    import api
  File "C:\Python27\lib\site-packages\linkedin\api.py", line 2, in <module>
    from params import *ImportError: No module named params


I haven't been able to find the params module. What and where is it?

Thanks for all information,

Alec Taylor

On Thursday, August 9, 2012 2:23:02 PM UTC+10, Alec Taylor wrote:
>
> Just trying to test out LinkedIn login, but having some trouble.
>
> I've tried placing 
> https://github.com/michaelhelmick/linkedin/blob/master/linkedin.py in 
> web2py\gluon\contrib\login_methods, but I still was getting the "linkedin 
> module not found" error. Same error was received after a `pip install 
> linkedin`.
>
> I also tried removing the try/except and replacing it inline with the 
> contents of that linkedin.py. That gave me a "<type 
> 'exceptions.ImportError'> No module named 
> gluon.contrib.login_methods.linkedin_account" error on page refresh.
>
> I have been following this guide: 
> http://web2py.com/books/default/chapter/29/9 
>
> Am I using the wrong linkedin library? Or is there something else I'm 
> doing wrong?
>
> Thanks for all suggestions,
>
> Alec Taylor
>

-- 



Reply via email to