On 10/26/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
> Linda,
>
> >I run the following code in Python 2.5 and got the error (when I do
> > "import Tix", no error).
>
> Congratulations I think this might just be the first Tix question
> on the tutor list! :-)
>
> > Traceback (most recent call last):
> >  File "2.py", line 54, in <module>
> >    tkRoot = Tix.Tk( )
> >  File
> > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",
> > line 210, in __init__
> >    self.tk.eval('package require Tix')
> > _tkinter.TclError: can't find package Tix
>
> This looks to me like the Tix DLL hasn't been installed or it's
> installed in a folder where it can''t be found. The Tix module
> is just a wrapper round the Tix DLL so you need both.
>
I wonder where should I install Tix DLL (I just did the install on my desktop).
Thanks,
Linda
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to