Can't start IDLE

Nick Collier nick at src.uchicago.edu
Wed Nov 3 15:45:50 EST 1999


Just tried 

import Tkinter

Tkinter._test() and it works, so maybe its not a tk version problem.

Nick

Nick Collier wrote:
> 
> It looks like this is the problem. Unfortunately, some other software
> I've got installed relies on other versions of tcl, so I'll have to run
> emacs as my python editor for now. Saw IDLE at the talk you gave at the
> Univ. of Chicago last week and wanted to give it a try. I enjoyed the
> talk and thanks for coming.
> 
> Nick
> 
> Guido van Rossum wrote:
> >
> > Nick Collier <nick at src.uchicago.edu> writes:
> >
> > > On winNT sp3 I get the following message when I do a "python idle.py"
> > > from the command line:
> > >
> > > C:\Program Files\Python\Tools\idle>python idle.py
> > > Traceback (innermost last):
> > >   File "idle.py", line 3, in ?
> > >     PyShell.main()
> > >   File "PyShell.py", line 612, in main
> > >     fixwordbreaks(root)
> > >   File "EditorWindow.py", line 606, in fixwordbreaks
> > >     tk.call('tcl_wordBreakAfter', 'a b', 0) # make sure word.tcl is
> > > loaded
> > > TclError: invalid command name "tcl_wordBreakAfter"
> > >
> > > I looked around deja.com and found one other person with the same
> > > problem, but no response so I'm asking here.
> >
> > Could it be that you have an older (or newer) Tcl version installed?
> > Python (for now, until I upgrade the _tkinter module) requires Tcl/Tk
> > 8.0.5 -- which is the version that comes with the Python 1.5.2 for
> > Windows installer.
> >
> > Try to erase all traces of other Tcl installs and reinstall Python and
> > see if that works.
> >
> > --Guido van Rossum (home page: http://www.python.org/~guido/)
> 
> --
> 
> Nick Collier
> nick at src.uchicago.edu
> Social Science Research Computing
> University of Chicago
> Chicago, IL 60637

-- 

Nick Collier
nick at src.uchicago.edu
Social Science Research Computing
University of Chicago
Chicago, IL 60637




More information about the Python-list mailing list