<br>Hi Maria Angelica.<br><br>Maybe you must post your question to developers-list. Anyway, I'll try to answer you:<br><br>After a lot of problems like that you comment to us, I run the QGis standalone installer [1], set the installation dir to c:\qgis and put in a .bat file the next three lines: <br>

<br>set PYTHONPATH=c:\qgis\python<br>set PATH=c:\qgis\bin;%PATH%<br>set PATH=c:\Python25;%PATH%<br><br>After run the .bat everything work well with PyQGIS. Can you try this?<br><br>----------<br><br>I guess you are from Latin America like me. So, please visit GeoTux [2], there are some resources about PyQGIS. Also, if you like, you are invited to contribute us :)<br>

<br>Regards.<br><br><br>Germán Carrillo<br><br>--------------------<br>[1] <a href="http://download.osgeo.org/qgis/win32/QGIS-1.3.0-3-No-GrassSetup.exe">http://download.osgeo.org/qgis/win32/QGIS-1.3.0-3-No-GrassSetup.exe</a><br>

[2] <a href="http://geotux.tuxfamily.org">http://geotux.tuxfamily.org</a><br><br><br><br><div class="gmail_quote">2009/10/8 Echavarria Gregory, Maria Angelica <span dir="ltr"><<a href="mailto:m.echavarriagregory@umiami.edu">m.echavarriagregory@umiami.edu</a>></span><br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Dear QGIS group,<br>
<br>
I have my application designed in PyQt and need to add a Qgis canvas to it. I followed the user guide ch. 12 to add things and convert my app into a PyQGIS application. Everything used to work fine in my PyQt4 and<br>
PyWin32 installation. Last night I installed the binaries of QGIS, then added the recommended environment variables (PATH, PYTHONPATH, QGISHOME) to my system, and now this is what my Pythonwin editor complaints about:<br>


<br>
>>> import qgis<br>
>>> import PyQt4<br>
>>> from qgis.core import *<br>
Traceback (most recent call last):<br>
  File "<interactive input>", line 1, in <module><br>
ImportError: DLL load failed: The specified module could not be found.<br>
>>> from qgis.gui import *<br>
Traceback (most recent call last):<br>
  File "<interactive input>", line 1, in <module><br>
ImportError: DLL load failed: The specified module could not be found.<br>
>>> from PyQt4.QtCore import *<br>
Traceback (most recent call last):<br>
  File "<interactive input>", line 1, in <module><br>
ImportError: DLL load failed: The specified procedure could not be found.<br>
>>><br>
<br>
I think the DLL existed before the QGIS installation because the PyQt4.QtCore install used to work perfect!!. Also seems to be the exact same DLL what is missing in both cases (PyQt and QGIS imports). Could someone give me a hand with this? I'M STUCKED!!! If you happen to know which is the missing DLL, could you please email it to me along with the location?<br>


<br>
Maybe it has something to do with the environmet variables?<br>
Could it be because Python is also inside the binary distribution and I'm using my usual 'alone' installation? Or is it Windows?<br>
<br>
Thanks very much,<br>
Angelica<br>
<br>
M. Angelica Echavarria-Gregory,<br>
Ph.D Candidate<br>
University of Miami<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br>-- <br>-----------<br>  |\__  <br>(:>__)(<br>  |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>