[Qgis-developer] QGis & Python

Pierre Cauhopé pierre.cauhope at free.fr
Sun Nov 29 10:54:14 EST 2009


Hi,

I'm currently trying to make a python application which use QGis API but i
am facing a problem for severals day. You see, i have installed QGis, PyQt4
and Python 2.6.

On top of my program I have :

import os
> from PyQt4        import QtCore, QtGui
> import sys
> from qgis.core    import *
> from qgis.gui     import *
>

When i try to run my script I have the following error :

 Traceback (most recent call last):
>   File "C:\Users\Pierre\Desktop\Projet SIG\MontBlanc\qgismt\__main__.py",
> line 4, in <module>
>     from qgis.core    import *
> ImportError: DLL load failed: Le module spécifié est introuvable.


I am running on Windows 7.

I try many things to solve this problem but I fail, I hope you will be able
to help me.

Best regards,

Pierre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091129/9fa1f9c2/attachment.html


More information about the Qgis-developer mailing list