Hi, I just installed Python 3.1.1 via link in the book Python Programming for the absolute beginner third edition. But IDLE won't start. When I try to open IDLE the Windows "hourglass" just flashes briefly but nothing happens after that. No error messages.
My operating system is XP Professional Version 2002 Service Pack 3. I have uninstalled and reinstalled several times but nothing changes. I select "Install for All Users" during the installation. I have also tried installing instead the 3.2 version from the python.org website but the same issue arises - IDLE doesn't launch. When I open a command prompt, and type: c:\python32\python.exe -m idlelib.idle The message that comes is as follows: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Ceonn>c:\python32\python.exe -m idlelib.idle Traceback (most recent call last): File "c:\python32\lib\runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\python32\lib\runpy.py", line 73, in _run_code exec(code, run_globals) File "c:\python32\lib\idlelib\idle.py", line 11, in <module> idlelib.PyShell.main() File "c:\python32\lib\idlelib\PyShell.py", line 1374, in main root = Tk(className="Idle") File "c:\python32\lib\tkinter\__init__.py", line 1674, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, want objects, useTk, sync, use) _tkinter.TclError: Can't find a usable init.tcl in the following directories: {C:\IBMTOOLS\Python22\tcl\tcl8.4} C:/IBMTOOLS/Python22/tcl/tcl8.5 c:/python3 2/lib/tcl8.5 c:/lib/tcl8.5 c:/lib/tcl8.5 c:/library c:/library c:/tcl8.5.9/libra ry c:/tcl8.5.9/library C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl: version conflict for package "Tcl": ha ve 8.5.9, need exactly 8.4 version conflict for package "Tcl": have 8.5.9, need exactly 8.4 while executing "package require -exact Tcl 8.4" (file "C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl" line 19) invoked from within "source C:/IBMTOOLS/Python22/tcl/tcl8.4/init.tcl" ("uplevel" body line 1) invoked from within "uplevel #0 [list source $tclfile]" Someone told me: “You certainly have a TCL_LIBRARY environment variable set on your system, it should be removed”. How do I remove TCL_LIBRARY, or do I change some numbers somewhere, and isn’t it risky to tinker with the Python settings already on my computer? Thanks for any help, I really would like to get going with Python!
-- http://mail.python.org/mailman/listinfo/python-list