[Qgis-developer] Qgis 1.2.0 - 1 Mac OS X Leopard - problem to import psycopg

William Kyngesburye woklist at kyngchaos.com
Sun Sep 13 14:45:07 EDT 2009


It's there, so maybe there's something I missed in the environment  
setup.  Which plugin are you trying to load?

I'm having other problems with Qgis and psycopg (separately) on Snow  
Leopard, but I'll see if I can make sure it's working for the 1.3  
release.

On Sep 13, 2009, at 11:20 AM, Luca Mandolesi wrote:

> Hi,
> I've installed Qgs 1.2.0 but when I try to a load a plugin which  
> import psycopg2, python returns this message:
>
>     from psycopg2 import *
>   File "/Applications/Qgis.app/Contents/MacOS/../Resources/python/ 
> psycopg2/__init__.py", line 56, in
>     from psycopg2 import tz
> ImportError: cannot import name tz
>
> I've try on my IDLE to import this module and all run correctly.  
> Probably isn't embedded into psycopg2 that is present in Qgis?
>
> Thanks a lot
>
> luca
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an  
illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy




More information about the Qgis-developer mailing list