Code: Select all
Traceback (most recent call last):
File "/usr/bin/idle3", line 5, in <module>
main()
File "/usr/lib/python3.4/idlelib/PyShell.py", line 1540, in main
root = Tk(className="Idle")
File "/usr/lib/python3.4/tkinter/__init__.py", line 1854, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable tk.tcl in the following directories:
/usr/share/tcltk/tcl8.6/tk8.6 /usr/share/tcltk/tk8.6 /usr/lib/tk8.6 /usr/local/lib/tcltk/tk8.6 /usr/local/share/tcltk/tk8.6 /usr/lib/tcltk/arm-linux-gnueabihf/tk8.6 /usr/lib/tcltk/tk8.6 /usr/lib/tcltk/tcl8.6/tk8.6 /lib/tk8.6 /usr/library
/usr/share/tcltk/tk8.6/tk.tcl: invalid command name "ttk::copyBindings"
invalid command name "ttk::copyBindings"
while executing
"ttk::copyBindings TButton TCheckbutton"
(file "/usr/share/tcltk/tk8.6/ttk/button.tcl" line 37)
invoked from within
"source [file join $::ttk::library button.tcl]"
(file "/usr/share/tcltk/tk8.6/ttk/ttk.tcl" line 100)
invoked from within
"source /usr/share/tcltk/tk8.6/ttk/ttk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel \#0 [list source $::ttk::library/ttk.tcl]"
(file "/usr/share/tcltk/tk8.6/tk.tcl" line 692)
invoked from within
"source /usr/share/tcltk/tk8.6/tk.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $file]"
This probably means that tk wasn't installed properly.