"No module named openid.association"

Issue #42 resolved
created an issue

That's what I get with python2.5 manage.py syncdb.

This is on a dreamhost server with django-trunk (11638).

It's actually through the reportingon project, but I get the same error if I try to import djang_authopenid from the python shell.

Python 2.5 (release25-maint, Jul 23 2008, 18:15:29) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import django_authopenid

Traceback (most recent call last): File "<stdin>", line 1, in <module>

File "/home/username/installs/django-authopenid/django_authopenid/init.py", line 57, in <module>

DjangoOpenIDStore = load_store(settings.OPENID_STORE)

File "/home/username/installs/django-authopenid/django_authopenid/init.py", line 46, in load_store

raise ImproperlyConfigured('Error importing openid store %s: "%s"' % (module, e))

django.core.exceptions.ImproperlyConfigured: Error importing openid store django_authopenid.openid_store: "No module named openid.association"

Comments (5)

  1. Mikhail Korobov

    It seems that you don't have python-openid installed.

    By the way, dependency on python-openid is not mentioned in installation docs. I think it's because python-openid is in setuptools requirements. But this won't work if you install django-authopenid using pip and I think it should be fixed.

  2. Log in to comment