Tkinter importing error

Monpetit monpetit at orgio.net
Tue Feb 20 21:04:23 EST 2001


Active Python does not include Tk module by default.
You have to install Tcl/Tk 8.3.2. Visit http://www.scriptics.com/ and
download Tcl/Tk.

"Costas Menico" <costas at meezon.com> wrote in message
news:3a93190a.462510 at News.CIS.DFN.DE...
> Does anyone know why I get the following message when I try to import
> Tkinter on Windows 98?
>
> >>> import Tkinter
> Traceback (innermost last):
>   File "<interactive input>", line 1, in ?
>   File "d:\python20\lib\lib-tk\Tkinter.py", line 34, in ?
>     import FixTk # Attempt to configure Tcl/Tk without requiring PATH
>   File "d:\python20\lib\lib-tk\FixTk.py", line 1, in ?
>     import sys, os, _tkinter
> ImportError: DLL load failed: One of the library files needed to run
> this application cannot be found.
> >>>
>
> Where is Tk supposed to be installed? The Python I use is
> ActiveState's version.  Thanks
>
> Costas





More information about the Python-list mailing list