TclError: Can't find a usable init.tcl in the following directories:

Nicolas Boretos nicolasb at maich.gr
Thu Jan 23 02:29:07 EST 2003


riso wrote:
> When I run IDLE , I get the following error:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.2/site-packages/idle/idle.py", line 4, in ?
>     PyShell.main()
>   File "/usr/lib/python2.2/site-packages/idle/PyShell.py", line 747, in main
>     root = Tk(className="Idle")
>   File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1487, in __init__
>     self.tk = _tkinter.create(screenName, baseName, className)
> TclError: Can't find a usable init.tcl in the following directories: 
>     /usr/lib/tcl8.3 
> 
> I use Mandrake Rpms: (Mandrake 9.0)
> tcl-8.3.3-21mdk.rpm
> tk-8.3.3-21mdk.rpm
> tkinter-2.2.1-14.2mdk.rpm
> python-2.2.1-14.2mdk.rpm
> 
> I can`t find how to set the tkinter search path, can someone tell me how to 
> resolve these errors?
> 
> Thanks 
> 
> 

Hi,

This error is usually due to an "incomplete", or non-standard 
installation. Did you compile tcl yourself, if so, make install puts 
things in the right places.

regards,
nicolas boretos








More information about the Python-list mailing list