| www.pythonware.com | products ::: library ::: search ::: daily Python-URL! |
Frequently Asked QuestionsI Get "Cannot find a usable tk.tcl in the following directories"This means that Tk cannot find it's library (the .tcl files found under something/library), or that it picks up the wrong version of these files. Here's how to solve this:
I Get "bad event type or keysym MouseWheel"This means that you're using a fresh Tk library (the .tcl files found under something/library) with an old DLL. Maybe you have old Tcl/Tk DLL's in the system directory (see below). Tkinter Complains About A Non-Functioning DeviceThis is Windows way of telling you that it cannot find a certain DLL. The Tcl installer puts the DLL's in the same directory as the EXE files. Since Windows searches in the EXE directory before it looks in any other directory, Tcl works even if you don't have the Tcl executables in the PATH. However, Python cannot find it, unless you do one of the following:
Note: Given that only some people stumble upon this problem, we suspect the Tcl/Tk installer, or some earlier version of it, does something like this under certain circumstances. If someone knows for sure, drop us a line. |