freeze.py and GTK apps

kristian.hermansen at gmail.com kristian.hermansen at gmail.com
Mon Mar 27 19:15:05 EST 2006


After freezing a PYGTK app, I am unable to run it.  It this a common
problem, because I could not find any documentation on it at all.

I tried freezing this example, which gets by the make as well, but
running it results in a failure.  This is on Ubuntu Linux:
http://www.moeraki.com/pygtktutorial/pygtk2tutorial/examples/helloworld.py

$ ./helloworld
Traceback (most recent call last):
  File "helloworld.py", line 7, in ?
    import gtk
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line
37, in ?    from _gtk import *
ImportError: No module named _gtk

Any suggestions?
--
Kristian Hermansen




More information about the Python-list mailing list