[pygtk] python2.6 use py2exe to generate exe with pygtk
Luis A. Bastiao Silva
luis.kop at gmail.com
Mon Aug 29 23:15:02 WST 2011
Hi Zheng,
I think you missed GTK dlls. Check GTK/lib and past them in the same
directory of the executable.
On Mon, Aug 29, 2011 at 4:12 PM, dan zheng <savon_cn at qq.com> wrote:
> I google a lot,but earn little
> my python version is 2.6
> I use py2exe to generate the exe file
> but when i execute,the error produce:
> File "simple_dialog.py", line 5, in <module>
> File "gtk\__init__.pyc", line 40, in <module>
> File "gtk\_gtk.pyc", line 12, in <module>
> File "gtk\_gtk.pyc", line 10, in __load
> ImportError: DLL load failed: The specified procedure could not be found.
> depends.exe and any debug tools also can't help
> I suppose that it's py2exe's bug
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>
--
Luís A. Bastião Silva
Skype: koplabs
http://www.bastiao.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110829/ef656f31/attachment.html>
More information about the pygtk
mailing list