[Qgis-developer] py2exe error - Convert Python code to exe.
Germán Carrillo
carrillo.german at gmail.com
Wed Oct 7 10:25:04 EDT 2009
Hi Bishwarup.
You must put the following line to the setup options of py2exe:
"includes": ['sip'],
This will include the sip module to the generated dir.
Regards.
Germán.
2009/10/7 Bishwarup Banerjee <bishwarup.banerjee at gmail.com>
>
> Dear All,
>
> 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.
>
> Traceback (most recent call last):
> File "Final.py", line 1, in <module>
> File "PyQt4\QtCore.pyc", line 12, in <module>
> File "PyQt4\QtCore.pyc", line 10, in __load
> ImportError: No module named sip
>
> Any idea why it is happening?
>
> Thank you in advance.
>
> Bishwarup
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
> --
-----------
|\__
(:>__)(
|/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091007/2cc0c939/attachment.html
More information about the Qgis-developer
mailing list