Python 2.4 Tix failing on Windows XP

j vickroy jgv-home at comcast.net
Thu Dec 9 06:39:10 EST 2004


Hello,

I've just installed (accepted all installation defaults) Python 2.4 (final) 
on my Microsoft Windows XP (home edition - service pack 2) computer, and I 
am experiencing the following behavior regarding Tix:

>>> import sys
>>> sys.version
'2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]'
>>> import Tix
>>> root = Tix.Tk()
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
  File "C:\Python24\lib\lib-tk\Tix.py", line 210, in __init__
    self.tk.eval('package require Tix')
TclError: couldn't load library "tix8184.dll": this library or a dependent 
library could not be found in library path
>>> import os
>>> os.environ['TIX_LIBRARY']
'C:\\Python24\\tcl\\tix8.1'
>>>


"tix8184.dll" is definitely not in the 'C:\Python24\tcl\tix8.1' folder; its 
in the 'C:\Python24\DLLs' folder.  I placed a copy of "tix8184.dll" in  the 
'C:\Python24\tcl\tix8.1' folder, but I still get the same error.

 I next tried:

>>> os.environ['TIX_LIBRARY'] = 'C:\\Python24\\DLLs'

but I still get the same error.

Could someone tell me what I am doing incorrectly?

Thanks.





More information about the Python-list mailing list