Hi German, <br><br>Thank you for your help but unforntunatly it don&#39;t work better. Here is my code :<br><br><blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
# Import main libs <br>import os<br>from PyQt4        import QtCore, QtGui<br>import sys<br>from qgis.core    import *<br>from qgis.gui     import *<br></blockquote></blockquote>Here is my error:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 6.8ex; padding-left: 1ex;" class="gmail_quote">
Traceback (most recent call last):<br>  File &quot;C:\Users\Pierre\Desktop\Projet SIG\MontBlanc\qgismt\__main__.py&quot;, line 5, in &lt;module&gt;<br>    from qgis.core    import *<br>ImportError: DLL load failed: Le module spécifié est introuvable.<br>
</blockquote><div><br>And here my systeme variables :<br><br><blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><b>Path</b>: C:\Python26;C:\qgis\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\TortoiseSVN\bin<br>
 <br><b>PYTHONPATH</b>: C:\qgis\python<br></blockquote></blockquote></div>It&#39;s very strange, someone have an idea to solve this problem ?<br><br>Thank you again<br><br>Pierre<br>
<br><br><div class="gmail_quote">2009/11/30 Germán Carrillo <span dir="ltr">&lt;<a href="mailto:carrillo.german@gmail.com">carrillo.german@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Hi Pierre.<br><br>On Windows I run a .bat file with this three lines:<br><br><div style="margin-left: 40px;"><i>set PYTHONPATH=c:\qgis\python<br>
set PATH=c:\qgis\bin;%PATH%<br>
set PATH=c:\Python25;%PATH%</i><br></div><br>After that I&#39;m able to run PyQGIS applications. I use the QGIS standalone installer.<br><br>Regards.<br><br></div>Germán.<br><br><div class="gmail_quote">2009/11/30 Luca Mandolesi <span dir="ltr">&lt;<a href="mailto:mandoluca@gmail.com" target="_blank">mandoluca@gmail.com</a>&gt;</span><br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>Sorry, but I&#39;m working under mac os x, and the sys.path method works fine. I&#39;ve installed under Win the Osgeo version, but I cannot find the qgis.core, only the C:/Osgeo/app/qgis/python/qgis/ folder, which contains only qgis_core.pyd and qgis_gui.pyd.<div>




<br></div><div>Mmmmm! I don&#39;t understand as you can solve, but I&#39;ll try in other way!</div>
<br></div><div class="im">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></div></blockquote></div><font color="#888888">-- <br>-----------<br>  |\__  <br>(:&gt;__)(<br>  |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br>




</font></blockquote></div><br>