473,549 Members | 2,670 Online
Bytes | Software Development & Data Engineering Community
+ 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\Li b\site-packages\Tkinte rDnD\TkinterDnD .py", line
352, in __init__
self.TkdndVersi on = _require(self)
File "C:\Python24\Li b\site-packages\Tkinte rDnD\TkinterDnD .py", line
333, in _require
tkdndver = tkroot.tk.call( 'package', 'require', 'tkdnd')
_tkinter.TclErr or: can't find package tkdnd

Can someone explain what's going on? Thanks

Nov 14 '06 #1
0 1449

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

Similar topics

3
5145
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 # the _tkinter module 2. Several lines need to be uncommented in order to
0
1486
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 and Tk, I unpacked Python2.3 and began a frustrating installation. After standard configuration, make told me it was renaming module _tkinter...
5
5522
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
1616
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 uninstalled via rpm Python 2.3 and Tkinter 8.3 (I now realize that was a mistake, since I could have both version installed with no problems). I then...
1
1526
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 could not find tkiniter downloaded macpython 2.3.3 macphyton find tkinter but got an application
2
2051
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
1684
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 correctly and it is the correct version (8+)?
25
2668
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 the conclusion that I need a GUI. So, which of the two packages should I learn, and which one is easier to pick up? Thanks in advance! Daniel
1
2187
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, 12:39:49) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin>", line 1,...
0
7521
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7451
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7959
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7473
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7810
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5369
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3483
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
764
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.