Eular
Eular

Reputation: 1807

_tkinter.TclError: can't find package Tktable

I wanted to run this program posted here http://tkinter.unpythonic.net/wiki/TkTableCalendar, but to run this I need the tktable wrapper https://tkinter.unpythonic.net/wiki/TkTableWrapper, but the wrapper throws an error

File "tktable.py", line 115, in __init__
master.tk.call('package', 'require', 'Tktable')
_tkinter.TclError: can't find package Tktable

I don't understand why it is behaving this way. How to fix this problem?

Upvotes: 1

Views: 2170

Answers (2)

Eular
Eular

Reputation: 1807

After searching for a long time I found this

http://blog.clintecker.com/post/148453368/tktable-for-tkinter-and-python

which solves my problem.

Now the TkTableCalender.py is running properly.

Upvotes: -1

python_pardus
python_pardus

Reputation: 320

You should install tktable... Go this link: https://pypi.python.org/pypi/tkintertable/1.1.2

Download it... Extract file. And open the folder which has been extracted. Open command prompt in same folder and type this command:

python setup.py install

Wait while it is being set up... After doing it try again.

Upvotes: -1

Related Questions