Hi Bishwarup.<br><br>You must put the following line to the setup options of py2exe: <br><br> "includes": ['sip'],<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"><<a href="mailto:bishwarup.banerjee@gmail.com">bishwarup.banerjee@gmail.com</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 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 "Final.py", line 1, in <module><br>
File "PyQt4\QtCore.pyc", line 12, in <module><br> File "PyQt4\QtCore.pyc", 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>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">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>-- <br>-----------<br> |\__ <br>(:>__)(<br> |/ <br><br>Soluciones Geoinformáticas Libres <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>