473,484 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need help installing Tkinter/tkdnd

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:
>>from TkinterDnD import *
root = TkinterDnD.Tk()
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

Nov 14 '06 #1
0 1446

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5142
by: $B9&(B $BfF(B | last post by:
Hi,I'm a newbie on python. When I was trying to install python on Linux, I followed these instructions: 1.Open the file Modules/Setup in the Python directory. Find the line that begins #...
0
1478
by: Adelein and Jeremy | last post by:
I have just installed Python 2.3.3, after first installing Tcl/Tk 8.4.6. After successful installation of Tcl/Tk (including passing configure the '--enable-shared' option), and testing both Tcl...
5
5513
by: Sean McIlroy | last post by:
The subject line essentially says it all. Is there a way to do it? If so, where do I look to find out how? Any help will be much appreciated. Thx, STM
1
1608
by: Baggs | last post by:
Guys/Gals I've messed up my Python 2.4 install. I'm really new to Python (and Linux for that matter) and really wanted to try Python out. I have mandrake 10.1. The first thing I did was...
1
1520
by: Robert | last post by:
I am trying to use tkinter on macos 10.2.6. I am not having any luck. I have tried this. python python2.4 after downloading downloaded TclTkAquaBI-8.4.6.1-Jaguar.dmg and installed python2.4...
2
2048
by: Jon Monteleone | last post by:
Greetings, Does anybody have a website where I can download a copy of Tkinter to install onto knoppix? Is it a pretty straightforward install? Cheers -Jon
1
1679
by: Paul Watson | last post by:
I cannot yet get tkinter working on 2.4.2. I have installed the tk rpms from FC4. I have checked to see that TKPATH is available in Modules/Setup. How can I verify that I have tcl/tk installed...
25
2659
by: Daniel Jonsson | last post by:
So, I've reached the point where my building pipeline tools actually needs to be used by other people in my company. By this reason I actually need to think about the usability, and I've come to...
1
2182
by: Dogzilla1000 | last post by:
I just installed Python 2.5.2 on UBUNTU Linux. It seems to work, however I don't seem to have access Tkinter. This is the result of "import Tkinter": Python 2.5.2 (r252:60911, Jul 7 2008,...
0
7082
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6813
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7214
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4845
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4529
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3041
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1359
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
592
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
235
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.