Hi,<br><br>I&#39;m trying to make a standalone app. As you said, I&#39;m trying to load qgis.core and qgis.gui out of Qgis.<br><br>When I try your solution, It change nothing... <br><br><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>sys.path.append(&quot;C:/qgis/python&quot;) <br>from qgis.core    import *<br>from qgis.gui     import *<br></blockquote><br>I have :<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.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 6, in &lt;module&gt;<br>
    from qgis.core    import *<br>ImportError: DLL load failed: Le module spécifié est introuvable.<br></blockquote><br>In C:\qgis\python I have a folder &quot;qgis&quot; with : core.pyd &amp; gui.pyd ... I don&#39;t understand why he don&#39;t want to load the module.<br>
<br>Thank you for your help.<br><br><br><div class="gmail_quote">2009/11/29 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;">

Are you developping a standalone app or it&#39;s a plugin. It seems that you try to load qgis.core out of Qgis. If you wanna call core and gui in a standalone app you must <span style="font-family: Arial,sans-serif; font-size: 13px; line-height: 19px;">declare the path to the module throug a sys.path.append(your_path)</span><br>


</blockquote></div><br>