问题
Well I wanted to try using multi-column ListBox
in Tkinter
,
and I came to find "TkTreectrl"
which was suggested here,
but the problem is, when I try using it and creating a MultiListbox
,
I'm getting this error:
"_tkinter.TclError: can't find package treectrl"
Any ideas what to do? thanks!
回答1:
Download 64 or x86 bit tktreectrl
(depending upon system arch) from this below link :
https://sourceforge.net/projects/tktreectrl/files/tktreectrl/tktreectrl-2.4.1/
Put it in tcl
folder (e.g your conda directory where you get this error --C:\Users\<username>\AppData\Local\Continuum\miniconda3\tcl\
)
You will get rid of two types of of error:
- Can't find package error
- Invalid argument Error
来源:https://stackoverflow.com/questions/23984676/tkinter-cant-find-package-treectrl