Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #107158

Re: error with tkinter, help

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: error with tkinter, help
Date 2016-04-17 00:29 -0400
Message-ID <mailman.90.1460867418.6324.python-list@python.org> (permalink)
References <47977d70-6208-4e68-aca3-e1f63aacfac7@googlegroups.com> <nev3g2$a0m$1@ger.gmane.org>

Show all headers | View raw


On 4/16/2016 9:31 PM, blueridiculous@gmail.com wrote:
> 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.
> "

The directory list is obsolete.  You should have C:/Python34/tcl
How did you install Python?  The Windows PSF installer from python.org 
will create this directory unless you uncheck the box to include tcl/tk.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

error with tkinter, help blueridiculous@gmail.com - 2016-04-16 18:31 -0700
  Re: error with tkinter, help Terry Reedy <tjreedy@udel.edu> - 2016-04-17 00:29 -0400
    Re: error with tkinter, help BlueRidiculous <blueridiculous@gmail.com> - 2016-04-17 10:17 -0700
      Re: error with tkinter, help BlueRidiculous <blueridiculous@gmail.com> - 2016-04-17 10:24 -0700
        Re: error with tkinter, help BlueRidiculous <blueridiculous@gmail.com> - 2016-04-18 21:26 -0700
      Re: error with tkinter, help Chris Angelico <rosuav@gmail.com> - 2016-04-18 05:08 +1000

csiph-web