Hi, Thanks for the quick answer.
Unfortunatelly, it does not work... I still have the same problem. I though Tix was shipped with the Python distribution. And i have the Tix.pyc file in my computer, so I don't really undesrtand... My setup.py: from distutils.core import setup import py2exe import Tix # To run: # python setup.py py2exe setup(windows=['openwar.py'], name='openwar', version='0.1', description="Openwar unit management program", author="Guille", ) Thanks, Guille On Sun, 16 Jan 2005 23:12:26 -0800 (PST), Chad Crabtree <[EMAIL PROTECTED]> wrote: > Try something like. > import mx > import Tix > > Sometimes py2exe will not gather up all the modules that it depends > on. > It does an admirable job but still needs some help. Perhaps you are > in > advertently using mx? Well try that and see what happens. > > Guillermo Fernandez Castellanos wrote: > > >Hi, > > > > > > > >I've done a GUI program and it works perfectly. > > > > > > > >but when I try to package it with py2exe, I obtain the following > result: > > > >The following modules appear to be missing > > > >['mx'] > > > > > > > >And when i run it, it crashes with this error message: > > > >Traceback (most recent call last): > > > > File "openwar.py", line 41, in ? > > > > File "Tix.pyc", line 210, in __init__ > > > >_tkinter.TclError: can't find package Tix > > > > > > > >I guess the two errors are not related (mx is an optional package to > > > >pysqlite, but you don't *need* it), but I'm surprised there's an > error > > > >due to Tix, a standard package in the python distribution... > specially > > > >that my Python can work with Tix without problems! > > > > > > > >Does anyone have a guess about what's happening? > > > > > > > >Thanks a lot, > > > > > > > >G > > > >_______________________________________________ > > > >Tutor maillist - Tutor@python.org > > > >http://mail.python.org/mailman/listinfo/tutor > > > > > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - Find what you need with new enhanced search. > http://info.mail.yahoo.com/mail_250 > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor