Need help installing Tkinter/tkdnd

los carlos80 at
Tue Nov 14 08:22:59 CET 2006

Hi I am trying to install the tk drag and drop to python 2.4.

I installed python to c:\python24

I downloaded tkdnd-1.0a2.tar.gz, and

After I unzipped tkdnd-1.0a2.tar.gz, I copied the lib directory to
c:\python24\tcl, now in C:\Python24\tcl\lib\tkdnd I have;
libtkdnd.dll pkgIndex.tcl tkDND_Utils.tcl.

I then unzipped and copied the TkinterDnD folder to
C:\Python24\Lib\site-packages. In this folder I have; TkinterDnD.pyc __init__.pyc

now when I go to python I get this error:
>>> from TkinterDnD import *
>>> root = TkinterDnD.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\Lib\site-packages\TkinterDnD\", line
352, in __init__
self.TkdndVersion = _require(self)
File "C:\Python24\Lib\site-packages\TkinterDnD\", line
333, in _require
tkdndver ='package', 'require', 'tkdnd')
_tkinter.TclError: can't find package tkdnd

Can someone explain what's going on? Thanks

More information about the Python-list mailing list