Tiago Cogumbreiro wrote:
On Sun, 2004-06-27 at 09:18, Jonathan Lange wrote:>
Luca Masini wrote:
I have sucessfully compiled a pygtk/glade program using cx_Freeze 2.2 (released August 27, 2003) from http://starship.python.net/crew/atuining/cx_Freeze/index.html (you need to install cx_PyGenLib; a needed general libraries too)
When I try this, on Windows, using Python 2.3 and cx_Freeze 2.2, I get:
File "C:\Python23\Lib\site-packages\gtk-2.0\gtk\glade.pyd", line 4, in ? ImportError: cannot import name Widget from gtk._gtk
The same error occurs in cx_Freeze 2.3. If you can publish your notes, please do.
cx_Freeze works, at least for me, I've tested it under linux first and then on windows. I have created a log of this experience (the last one), i have it kept in a very temporary webpage: http://www0.s1x.homelinux.net/documents/Xpython/
Thanks Tiago.
The answer proved to be as trivial as "manually specify gtk.glade in your included modules".
jml
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
