Dear German,<br><br>Thank you very much for your response. I am able to include sip files now. <br>But I am stuck in one another problem now.<br><br>In my application, there is a win32 application (I am calling MS Word from inside python)<br>
When I run my python file, everything works fine. But when i run my exe I get the following error:<br><br><pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 82px; text-align: left;">
 File <span style="color: rgb(255, 0, 0);">&quot;win32com<span style="color: rgb(128, 0, 0);">\c</span>lient<span style="color: rgb(128, 0, 0);">\g</span>encache.pyc&quot;</span>, line <span style="color: rgb(204, 102, 204);">540</span>, <span style="color: rgb(0, 0, 255);">in</span> EnsureDispatch<br>
  File <span style="color: rgb(255, 0, 0);">&quot;win32com<span style="color: rgb(128, 0, 0);">\c</span>lient<span style="color: rgb(128, 0, 0);">\C</span>LSIDToClass.pyc&quot;</span>, line <span style="color: rgb(204, 102, 204);">50</span>, <span style="color: rgb(0, 0, 255);">in</span> GetClass<br>
KeyError: <span style="color: rgb(255, 0, 0);">&#39;{00020970-0000-0000-C000-000000000046}&#39;</span><br></pre><br>I dont know how to overcome this error. I tried in google, and only found one solution, that also didnot worked for me.<br>
<br>I am having MSOFFICE 2003 and MSOFFICE2007 both in my system.<br>I am using python2.5<br><br>Thank you very much in advance.<br><br>With Warm Regards,<br>Bishwarup <br><br><br><br><br><div class="gmail_quote">2009/10/7 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;">Hi Bishwarup.<br><br>You must put the following line to the setup options of py2exe: <br><br>
   &quot;includes&quot;: [&#39;sip&#39;],<br><br>This will include the sip module to the generated dir. <br><br><br>Regards.<br><br>

Germán.<br><br><br><div class="gmail_quote">2009/10/7 Bishwarup Banerjee <span dir="ltr">&lt;<a href="mailto:bishwarup.banerjee@gmail.com" target="_blank">bishwarup.banerjee@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><div></div><div class="h5">

<br>Dear All,<br><br>I was trying to convert my python code to exe. Everything went on fine. But when I tried to execute the exe, this is giving the following error.<br><br>Traceback (most recent call last):<br>  File &quot;Final.py&quot;, line 1, in &lt;module&gt;<br>



  File &quot;PyQt4\QtCore.pyc&quot;, line 12, in &lt;module&gt;<br>  File &quot;PyQt4\QtCore.pyc&quot;, line 10, in __load<br>ImportError: No module named sip<br><br>Any idea why it is happening?<br><br>Thank you in advance.<br>


<font color="#888888">
<br>Bishwarup<br><br>
</font><br></div></div>_______________________________________________<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></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>