From: Michael F. <mi...@pc...> - 2005-10-24 07:42:12
|
Ron Provost wrote: > I'm trying to get py2exe to work with a Tkinter/Tix app that I have. > I've gotten py2exe to work with just about everything else, so I'm > confused as to why it's not working with Tix. I searched the mailing > list archive and foudn someone with the same problem, and there was a > response about patching the distlist but that meant absolutely nothing > to me. > > Anyway, here's the message I get when I attempt to run the generated exe. > > Traceback (most recent call last): > File "GUI.py", line 298, in ? > File "Tix.pyc", line 210, in __init__ > _tkinter.TclError: can't find package Tix > Traceback (most recent call last): > File "GUI.py", line 298, in ? > File "Tix.pyc", line 210, in __init__ > _tkinter.TclError: can't find package Tix > > Judging by what I'm accustomed to seeing in the dist directory, I kind > of expected to see a Tix.pyd or Tix.dll file. But I don't see such a > thing. Does anybody have any experience with this? > > Thanks for your help. > > Ron Hello there, I'm not an expert - and I'm surprised google didn't help.. *but* as far as I know, Tix is a Tcl/Tk package. This means it's files exist in the Tcl directory ?? Maybe you can copy the packages across from there. It looks like Tix.pyc made it into your distribution (it's where the error comes from) - but the actual error being reported is a TclError. I've never used Tix - so I can't be more helpful than this, sorry. Fuzzyman http://www.voidspace.org.uk/python |