error with tkinter, help

2016-04-16 Thread blueridiculous
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 "", line 301, in runcode
  File "", line 1, in 
  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.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: error with tkinter, help

2016-04-17 Thread BlueRidiculous
On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> On 4/16/2016 9:31 PM, blueridicul...@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 "", line 301, in runcode
> >   File "", line 1, in 
> >   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

What is a PSF installer? Anyway, I installed the "Windows x86 MSI installer" 
from https://www.python.org/downloads/release/python-344/ Is that correct?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: error with tkinter, help

2016-04-17 Thread BlueRidiculous
On Sunday, April 17, 2016 at 10:18:09 AM UTC-7, BlueRidiculous wrote:
> On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> > On 4/16/2016 9:31 PM, blueridicul...@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 "", line 301, in runcode
> > >   File "", line 1, in 
> > >   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
> 
> What is a PSF installer? Anyway, I installed the "Windows x86 MSI installer" 
> from https://www.python.org/downloads/release/python-344/ Is that correct?

Actually nevermind, I uninstalled and reinstalled Python and it works now. I 
remember I uninstalled and reinstalled before, and it worked, then stopped 
working, so I'm not sure how permanent this fix will be. Stay tuned for 
updates. Thanks again.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: error with tkinter, help

2016-04-18 Thread BlueRidiculous
On Sunday, April 17, 2016 at 10:24:32 AM UTC-7, BlueRidiculous wrote:
> On Sunday, April 17, 2016 at 10:18:09 AM UTC-7, BlueRidiculous wrote:
> > On Saturday, April 16, 2016 at 9:30:39 PM UTC-7, Terry Reedy wrote:
> > > On 4/16/2016 9:31 PM, blueridicul...@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 "", line 301, in runcode
> > > >   File "", line 1, in 
> > > >   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
> > 
> > What is a PSF installer? Anyway, I installed the "Windows x86 MSI 
> > installer" from https://www.python.org/downloads/release/python-344/ Is 
> > that correct?
> 
> Actually nevermind, I uninstalled and reinstalled Python and it works now. I 
> remember I uninstalled and reinstalled before, and it worked, then stopped 
> working, so I'm not sure how permanent this fix will be. Stay tuned for 
> updates. Thanks again.

So no need to "stay tuned for updates" anymore, it has been working for a day 
and I think that it is good now. If ever it breaks again, I'll just start a new 
thread. You guys can ignore this now. Thanks again to you guys for the help.
-- 
https://mail.python.org/mailman/listinfo/python-list