Hi Simon,

it could be a permission problem:

in the code do something like

assert False, os.getuid().

then on the shell, you need get this user:
su - corresponding-user
id # check if you have this UID
#try to open the file:
more /.../tz.py

HTH,
  Thomas

Simon Lee schrieb:
> tz.py is in the directory: "'/Library/Frameworks/Python.framework/
> Versions/2.6/lib/python2.6/site-packages/psycopg2" which is in the
> sys.path list. Why does the import still fail? Please advise.


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to