IDLE doesn't start

Gennadiy Zlobin gennad.zlobin at gmail.com
Fri Mar 11 14:28:17 EST 2011


It seems that you have already had Python 2.2 installed in the directory
C:/IBMTOOLS/Python22

Can you open the console and type there next commands and provide the
output?
echo %TCL_LIBRARY%
echo %TK_LIBRARY%
echo %PYTHONPATH%

You can unset environment variable in 'my computer' properties, more details
are, for example, here
http://vlaurie.com/computers2/Articles/environment.htm

- Gennadiy <gennad.zlobin at gmail.com>


On Fri, Mar 11, 2011 at 11:58 PM, Ceonn Bobst <ceonnbobst at yahoo.com> wrote:

> 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.orgwebsite 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 variableset 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110312/5a8c97b6/attachment.html>


More information about the Python-list mailing list