[Qgis-user] Couldn't import Python module 'psycopg2' for communication with PostgreSQL database.

Jürgen E. Fischer jef at norbit.de
Sat Jan 8 12:29:55 PST 2011


Hi Byron,

On Sat, 08. Jan 2011 at 12:16:59 -0600, Byron Como wrote:
> I'm trying to get a previous installation of QGIS initally on Windows XP
> box installed on Windows 7 and am having problems. In a QGIS 1.5
> installation I get the error message: "Couldn't import Python module
> 'psycopg2' for communication with PostgreSQL database" when I click on the
> PostGIS Manager. I have python 2.7 and psycopg2 2.2.2 installed. Do I need an
> environment variable set or modify the path?  Can I even set this up,
> PostgreSQL and QGIS on Windows 7? This all worked properly on Windows XP.

The python included in the standalone installer should work.  Are you trying to
make it use your python 2.7 installation?  If so, that might cause the problem.


Jürgen 

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list