[Qgis-developer] 0.9 Python modules on windows

Jesse Ayers jrayers at u.washington.edu
Mon Jul 30 13:24:51 EDT 2007


No, I am not actually writing a script yet, just trying things out
interactively.  The problem is that Python cannot find qgis.core and
qgis.gui at all.

My QGIS installation is at d:\qgis0.9preview1

I have tried these 3 paths:

d:\qgis0.9preview1
d:\qgis0.9preview1\python
d:\qgis0.9preview1\python\qgis

In both the PATH and PYTHONPATH environment variables.  Is one of these
paths or locations correct?

Thanks in advance

--Jesse

 

>-----Original Message-----
>From: Luca Mandolesi [mailto:mandoluca at gmail.com] 
>Sent: Monday, July 30, 2007 9:49 AM
>To: Jesse Ayers
>Subject: Re: [Qgis-developer] 0.9 Python modules on windows
>
>> I get an import error, the specified module cannot be found.
>
>Had you try to add to your script:
>
>import sys
>sys.path.append("your/qgis/path")
>




More information about the Qgis-developer mailing list