error with tkinter, help

blueridiculous at gmail.com blueridiculous at gmail.com
Sat Apr 16 21:31:19 EDT 2016


So I was reading https://wiki.python.org/moin/TkInter for help. I got to step 3 under "Checking your Tkinter support." Nothing happens when I do steps 1 or 2, and when I do step 3, I get this error:
"
Traceback (most recent call last):
 File "<string>", line 301, in runcode
 File "<interactive input>", line 1, in <module>
 File "C:\Python34\lib\tkinter\__init__.py", line 3882, in _test
 root = Tk()
 File "C:\Python34\lib\tkinter\__init__.py", line 1856, in __init__
 self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories: 
 C:/Python34/lib/tcl8.6 C:/lib/tcl8.6 C:/lib/tcl8.6 C:/library C:/library C:/tcl8.6.1/library C:/tcl8.6.1/library
This probably means that Tcl wasn't installed properly.
"
What should I do to get Tkinter working? Sorry if the answer should be obvious to me; I am not very experienced with Python.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /