This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 2.7.1 version conflict for package "Tcl" on Windows 7
Type: crash Stage:
Components: Tkinter Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, jackie3, loewis, terry.reedy
Priority: normal Keywords:

Created on 2011-06-06 21:09 by jackie3, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg137778 - (view) Author: Jack Eisenbach (jackie3) Date: 2011-06-06 21:09
I wrote a Tkinter application that runs fine with Python 2.6.5 and 2.6.6 on a Windows 7 (32-bit version) machine. The same app fails with 2.7.1. Below is the debug output:

c:\ISS\ledmatrix>led-display.py
Traceback (most recent call last):
  File "ledmatrix.py", line 2263, in <module>
    LEDMatrix()
  File "ledmatrix.py", line 1427, in LEDMatrix
    root = Tk()
  File "C:\Python26\lib\lib-tk\Tkinter.py", line 1643, 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:\Python27\tcl\tcl8.5} C:/Python26/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.8/library C:/tcl8.5.8/library

C:/Python27/tcl/tcl8.5/init.tcl: version conflict for package "Tcl": have 8.5.8, need exactly 8.5.2
version conflict for package "Tcl": have 8.5.8, need exactly 8.5.2
    while executing
"package require -exact Tcl 8.5.2"
    (file "C:/Python27/tcl/tcl8.5/init.tcl" line 20)
    invoked from within
"source C:/Python27/tcl/tcl8.5/init.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $tclfile]"


This probably means that Tcl wasn't installed properly.
msg138146 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2011-06-11 02:04
Martin, any ideas?

Jack, I would wipe out the tcl directory and rerun the 2.7.1 installer, selecting just the tk/tcl/idle option. I have trouble believe that every 2.7.1 install on win7 is bad.
msg192648 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2013-07-08 13:10
I'm closing this ticket because the op hasn't responded in two years and nobody has reported the issue ever since.
History
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56481
2013-07-08 13:10:14christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg192648

resolution: out of date
2011-06-11 02:04:23terry.reedysetnosy: + loewis, terry.reedy
messages: + msg138146
2011-06-06 21:09:34jackie3create