I am trying to create a sample web.py app that would use OpenId to 
Authenticate a user.  I tried following the examples I found, which boils 
down to installing python-openid and the starting the app, eg by:

python main.py 8080

This sample is linked everywhere: 
http://log.liminastudio.com/programming/howto-use-openid-with-web-py

This one is also referenced often: 

Openid.org's own python-openid includes a "consumer.py"

The errors all seem to point at a module that is not found, eg:

~/Projects/LearnPython$ python openid2.py 8080
Traceback (most recent call last):
  File "openid2.py", line 3, in <module>
    from web import webopenid
  File "/usr/lib/python2.7/dist-packages/web/webopenid.py", line 26, in 
<module>
    import openid.consumer.consumer
  File "/home/tahaan/Projects/LearnPython/openid.py", line 25, in <module>
    import __init__ as web
ImportError: No module named __init__

Thank you,
  _Johan

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/webpy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to