[Python wrote]
> Hello,
> 
> I just got PyUnit and tried to run it. I am getting the following error:
> 
> *****************************************
> C:\PyUnit>unittestgui.py
> Traceback (most recent call last):
>   File "C:\PyUnit\unittestgui.py", line 399, in ?
>     main()
>   File "C:\PyUnit\unittestgui.py", line 387, in main
>     root = tk.Tk()
>   File "D:\ACTIVESTATE\PYTHON23\lib\lib-tk\Tkinter.py", line 1564, in __init__
>     self.tk = _tkinter.create(screenName, baseName, className)
> _tkinter.TclError: Can't find a usable init.tcl in the following directories:
>     D:\\ActiveState\\Tcl\\lib\\ D:\\ActiveState\\Tcl\\lib\\ D:/ActiveState/Tcl/t
> cl8.4 D:/ActiveState/Python23/lib/tcl8.4 D:/ActiveState/lib/tcl8.4 D:/lib/tcl8.4
>  D:/ActiveState/library D:/library D:/../tcl8.4.4/library
> 
> This probably means that Tcl wasn't installed properly.
> *****************************************
> 
> Any idea what might be wrong? I have ActivePython-2.3.2-232-win32-ix86
> installed so I'm not sure what it means by Tcl wasn't installed properly.
> I also have ActiveTcl installed.

The same thing runs fine in my installation of ActivePython 2.3.2 232.
Perhaps it did not install properly. *Do* you have an init.tcl in your
ActivePython installation. Run this:

    cd D:\ACTIVESTATE\PYTHON23
    dir /s init.tcl

This should find an init.tcl in the tcl\tcl8.4 subdirectory. If not then
you should uninstall ActivePython 2.3 and re-install.

Cheers,
Trent

-- 
Trent Mick
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to