I have a folder called lib on my path and in there I have a folder
called openid.
If i want to import things from openid i have a problem.
For example if I have these 2 import statements:
from openid.yadis import xri
from openid.association import Association as OIDAssociation
yadis is a directory (in openid) and then there is xri.py inside. This
works fine.
association is a .py file not in a subdirectory, just in lib/openid
this produces the following error:
Traceback (most recent call last):
File "C:\TheAbeonaFile\Apache2.2\MyProject\test.py", line 18, in
<module>
from openid.association import Association as OIDAssociation
ImportError: No module named association
I don't see why one would be a problem and not the other, does anyone
have any ideas?
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---