Hello folks,
Since this is my first post on the list, a brief introduction of myself.
My name is Thomas, I am 26 years old, I am a student of Computational
Linguistics and I am a python user. :-)
Now my problem:
I have Tcl/Tk 8.4.4 installed:
iPimpG4:~ profipimp$ tclsh
% info patchlevel
8.4.4
%
But when I try to import Tkinter
>>import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framewor k/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 38, in <module>
import _tkinter # If this fails your Python may not be configured for
Tk
ImportError: dlcompat: dyld:
/Library/Frameworks/Python.framewor k/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
can't open library: /Library/Frameworks/Tk.framework/Versions/8.4/Tk (No
such file or directory, errno = 2)
>>>
....this happens.
Why?
Tkinter worked perfectly with 2.3 and 2.4...
Cheers,
Thomas 3 1982
Thomas Ploch wrote:
Hello folks,
Since this is my first post on the list, a brief introduction of myself.
My name is Thomas, I am 26 years old, I am a student of Computational
Linguistics and I am a python user. :-)
Now my problem:
I have Tcl/Tk 8.4.4 installed:
iPimpG4:~ profipimp$ tclsh
% info patchlevel
8.4.4
%
But when I try to import Tkinter
>>>import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framewor k/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 38, in <module>
import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: dlcompat: dyld:
/Library/Frameworks/Python.framewor k/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
can't open library: /Library/Frameworks/Tk.framework/Versions/8.4/Tk
(No such file or directory, errno = 2)
>>>>
...this happens.
Why?
Tkinter worked perfectly with 2.3 and 2.4...
Cheers,
Thomas
Where is your installation of Tcl/Tk? It sounds like Python can't find it.
Were you using the standard MacPython builds previously, or Unix-based
builds from Fink or DarwinPorts?
--
Kevin Walzer
Code by Kevin http://www.codebykevin.com
Kevin Walzer schrieb:
Thomas Ploch wrote:
Hello folks,
Since this is my first post on the list, a brief introduction of myself.
My name is Thomas, I am 26 years old, I am a student of Computational
Linguistics and I am a python user. :-)
Now my problem:
I have Tcl/Tk 8.4.4 installed:
iPimpG4:~ profipimp$ tclsh
% info patchlevel
8.4.4
%
But when I try to import Tkinter
>>import Tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framewor k/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py",
line 38, in <module>
import _tkinter # If this fails your Python may not be configured
for Tk
ImportError: dlcompat: dyld:
/Library/Frameworks/Python.framewor k/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
can't open library: /Library/Frameworks/Tk.framework/Versions/8.4/Tk
(No such file or directory, errno = 2)
>>>
...this happens.
Why?
Tkinter worked perfectly with 2.3 and 2.4...
Cheers,
Thomas
Where is your installation of Tcl/Tk? It sounds like Python can't find it.
Were you using the standard MacPython builds previously, or Unix-based
builds from Fink or DarwinPorts?
I built python from source using gcc 4.0.1, but I have solved it by
installing a version of Tcl/TkAqua, now everything runs fine.
Still I dont know why that has happened. The fink directories are in
searchpath...
Thanks for your help,
Thomas This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: srijit |
last post by:
Hello,
Any idea - why the following code crashes on my Win 98 machine with
Python 2.3? Everytime I run this code, I have to reboot my machine.
I also have Win32all-157 installed.
from Tkinter import *
class App:
|
by: John Slimick |
last post by:
I want to do a little Tkinter in my 1 credit
python practicum, but I am having problems
getting everything installed correctly.
A sample of the problem is below:
------------------- The python source, test.py ------------------
from graphics import *
def main():
|
by: SeeBelow |
last post by:
Do many people think that wxPython should replace Tkinter? Is this
likely to happen?
I ask because I have just started learning Tkinter, and I wonder if I
should abandon it in favor of wxPython.
Mitchell Timin
--
"Many are stubborn in pursuit of the path they have chosen, few in
|
by: PGMoscatt |
last post by:
Hi all,
Have just installed Fedora 3 and wish also want to give programming with
Python a go. I wish to develop GUI interfaces and believe that 'Tkinter'
is the way to go.
After installing Python frpm the distro CD I can't use the 'from Tkinter
import *' command. When I try, I get the error message below:
ImportError: No module named Tkinter
|
by: Michael Yanowitz |
last post by:
Hello:
Below I have included a stripped down version of the GUI I am working on.
It contains 2 dialog boxes - one main and one settings. It has the following
problems, probably all related, that I am hoping someone knows what I am
doing wrong:
1) Pressing the Settings.. Button multiple times, brings up many instances
of the Settings Panel. I just want it to bring up one. Is there an easy
way to do that?
| |
by: Thomas P. |
last post by:
Hello folks,
my name is Thomas, and I am new to this newsgroup. So first I want to
say hello. :-)
....done!
Now, I have a problem concerning my new python2.5 install. With
python2.3 and 2.4, Tkinter was no problem.
|
by: wolfonenet |
last post by:
Hi All,
My setup is:
WinXP
Python 2.5.1
TKinter version: $Revision: 50704 $
Tcl: 8.4
Debugger: WinPdb
|
by: J-Burns |
last post by:
Hello. Im a bit new to using Tkinter and im not a real pro in
programming itself... :P. Need some help here.
Problem 1:
How do I make something appear on 2 separate windows using Tkinter? By
this I mean that the format would be something like this:
You have Page1 : This has 2-3 buttons on it.
Clicking on each button opens up a new window respectively having
|
by: Steve Holden |
last post by:
Allen Taylor wrote:
You can publish it in the Python package index - see
http://pypi.python.org/pypi/
If you want to have it considered for inclusion into future versions of
Python then you should post a bug to bugs.python.org wiht your patch as
an attachment and the test of the above mail as a rationale for the change.
Thanks for going to these lengths to contribute!
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |