I am building a standalone Windows executable using cx_Freeze.
The resulting executable will not run and writes the following error
to the console.

ImportError: could not import gobject (error was: 'No module named
gobject')

The project using the gtk libraries for Cairo and Pango on Windows.
The program runs fine when run with Python.
I have tried copying anything that cx_Freeze may have missed from the
gtk installation under the Python directory.

My question is, is there a method to debug this, that can tell me more
about what is going on?

The executable directory already contains
_gobject.pyd
libgobject-2.0-0.dll
libcairo-gobject-2.dll
and a bunch of other stuff.

I can type
import gobject
in the Python shell and that works.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to