Need help installing Tkinter/tkdnd

L

los

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 TkinterDnD-0.4.zip.

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 TkinterDnD-0.4.zip and copied the TkinterDnD folder to
C:\Python24\Lib\site-packages. In this folder I have;
TkinterDnD.py TkinterDnD.pyc __init__.py __init__.pyc

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

Can someone explain what's going on? Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top