Can't start Tix
Frank
Frank at no.spam
Wed May 7 17:51:00 EDT 2003
I get the following error whether I import FixTk or not, and on 2
different machines with standard installatios of Python 2.2.1 and
2.2.2. It also creates a small empty window with the title "tix".
I can run some simple Tk examples without problems.
I would appreciate any help on how to use Tix.
Frank
=======================================
Python 2.2.1 (#34, Apr 9 2002, 19:34:33) [MSC 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import FixTk
>>> import Tix
>>> root=Tix.Tk()
Traceback (most recent call last):
File "<pyshell#2>", line 1, in ?
root=Tix.Tk()
File "C:\PYTHON22\lib\lib-tk\Tix.py", line 213, in __init__
self.tk.eval('package require Tix')
TclError: can't find package Tix
>>> dir()
['FixTk', 'Tix', '__builtins__', '__doc__', '__name__']
>>>
More information about the Python-list
mailing list