[Tutor] How to get Python to find tk/tcl?

Dick Moores rdm at rcblue.com
Thu Nov 30 20:25:46 CET 2006

I'd like to use TableListWrapper 
(<http://tkinter.unpythonic.net/wiki/TableListWrapper>). I ran it as 
TableList.py, and got this error:

E:\Python25\dev\Tkinter>python TableList.py
Traceback (most recent call last):
   File "TableList.py", line 1142, in <module>
   File "TableList.py", line 1061, in tabletest
     stretch = "all"
   File "TableList.py", line 50, in __init__
   File "TableList.py", line 1039, in _loadtablelist
     parent.tk.call("package", "require", "tablelist")
_tkinter.TclError: can't find package tablelist

I have tcl in E:\Python25\tcl. It came with Python 2.5? Is the above 
error caused by Python not being able to find tk/pcl? If so, what do 
I do? And if not, what do I do?


Dick Moores

More information about the Tutor mailing list