Python 2.2.2 & Tix on win32 - What must I do?

Frithiof Andreas Jensen frithiof.jensen at removethis.ted.ericsson.dk
Fri Apr 11 06:42:10 EDT 2003


On spotting the Tix documentation in the module docs, I gleefully set about
giving it a spin.

This is what I got however:
" Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
  Type "copyright", "credits" or "license" for more information.
  IDLE 0.8 -- press F1 for help
  >>> import Tix
  >>> root = Tix.Tk()
  Traceback (most recent call last):
    File "<pyshell#1>", 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
  >>>
"
What must I *do* exactly to fix this?






More information about the Python-list mailing list