[Qgis-user] Error importing the qgis.core module into a python script

Jürgen E. Fischer jef at norbit.de
Tue Jan 24 06:01:03 PST 2012


Hi gv,

On Tue, 24. Jan 2012 at 05:09:27 -0800, gv wrote:
> Most of the posts on this are from 2009, but I cannot locate a solution.  
> I've tried many combinations for PYTHONPATH and PATH but still cannot get
> any of the modules to load from within qgis (core, utils etc).  Using python
> 2.5.2 and QGIS 1.7.3.  Windows 7, 64bit.  

Start python from the osgeo4w shell or adapt the qgis(-dev).bat batch file to
start python(w) and your script.


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