Tkinter (Win98) Bombs but Tcl/Tk is OK

jide2time at my-deja.com jide2time at my-deja.com
Fri Mar 24 07:32:07 EST 2000


You probably have old versions of the tcl80.dll and tk80.dll sitting in
the C:/Windows/System area.  Windows (certainly win95) searches this
area for dLLs first, and will try and use those dlls instead of the
ones that come with your Tcl/Tk distribution.  If you delete the ones
in your C:/Windosw/System area, the problem should be fixed...

I had a similar problem on Win95, and got a fix after writing in to
this newsgroup - This is my first chance to pass the knowledge on :-)


In article <01a101bf9534$df0a5ea0$933dfc80 at fredicus>,
"David Fisher" <python at rose164.wuh.wustl.edu> wrote:
> ----- Original Message -----
> From: "Bjorke" <bjorke at botzilla.com>
> Newsgroups: comp.lang.python
> To: <python-list at python.org>
> Sent: Thursday, March 23, 2000 2:09 AM
> Subject: Tkinter (Win98) Bombs but Tcl/Tk is OK
>
> > I've got two Win machines, with identical vrsions of Tcl/Tk and
Python.
> > The Win98 laptop fails to run tkinter -- i can do this:
> >
> > import _tkinter
> > import Tkinter
> >
> > no problem, but when I hit
> >
> > Tkinter._test()
> >
> > it fails (as do all Tkinter programs), bombing in _tkinter.create()
> > saying:
> >
> > TclError: Can't find a usable init.tcl in the following directories:
> > () ./lib/tcl8.0 C:/tcl8.0/library {C:/Program Files/library}
> >
> > Where is it getting this? I have tcl installed in C:\Program
Files\Tcl
> > and it works flawlessly. I've uninstalled, re-installed, changed
> > installation ordering, made sure that the autoexec paths are
correct...
> > ???
> >
> > As I say, Tcl/Tk DOES work fine -- I use it for development on that
> > laptop regularly, and the Tcl version is a new one
>
> Does it work with version 8.0.5 that comes with the Win installer?
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list