472,958 Members | 2,152 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Tix.Tk() on Mac Intel

Hi List!

I have I Macbook Pro Intel running OSX 10.4.10.

I downloaded Python 2.5 and tried
TclTkAquaBI-8.4.10.0.dmg, but I got:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",
line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: no suitable image found. Did find:
/Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture

Which make sense since tcltkaqua is released only for PPC. Googling a
bit, since tcltkaqua stopped development, I found they recommended
ActiveTcl, but Tix is not included in the package.

So removing tcltkaqua and ActiveTcl, when trying Tix.Tk() I got:
>>Tix.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",
line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix

The only way I got Tix.Tk() working so far was using Fink but I want
the nice aqua visual for python. Is there any way of getting it
working?

I would appreciate any help here.
Many thanks in advance.
Cheers,
Alan
Jul 26 '07 #1
2 4223
Alan wrote:
Hi List!

I have I Macbook Pro Intel running OSX 10.4.10.

I downloaded Python 2.5 and tried
TclTkAquaBI-8.4.10.0.dmg, but I got:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",

line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: no suitable image found. Did find:
/Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture

Which make sense since tcltkaqua is released only for PPC. Googling a
bit, since tcltkaqua stopped development, I found they recommended
ActiveTcl, but Tix is not included in the package.

So removing tcltkaqua and ActiveTcl, when trying Tix.Tk() I got:
>>>Tix.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",

line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix

The only way I got Tix.Tk() working so far was using Fink but I want
the nice aqua visual for python. Is there any way of getting it
working?

I would appreciate any help here.
Many thanks in advance.
Cheers,
Alan
You'll need to build Tix yourself from source, and Tix must be built in
the same directory as the Tcl/Tk source tree (so you'll at least need to
download and untar those source trees).

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Jul 26 '07 #2
Alan wrote:
Hi List!

I have I Macbook Pro Intel running OSX 10.4.10.

I downloaded Python 2.5 and tried
TclTkAquaBI-8.4.10.0.dmg, but I got:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",

line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: no suitable image found. Did find:
/Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture

Which make sense since tcltkaqua is released only for PPC. Googling a
bit, since tcltkaqua stopped development, I found they recommended
ActiveTcl, but Tix is not included in the package.

So removing tcltkaqua and ActiveTcl, when trying Tix.Tk() I got:
>>>Tix.Tk()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",

line 210, in __init__
self.tk.eval('package require Tix')
_tkinter.TclError: can't find package Tix

The only way I got Tix.Tk() working so far was using Fink but I want
the nice aqua visual for python. Is there any way of getting it
working?

I would appreciate any help here.
Many thanks in advance.
Cheers,
Alan
You'll need to build Tix yourself from source, and Tix must be built in
the same directory as the Tcl/Tk source tree (so you'll at least need to
download and untar those source trees).

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
Jul 26 '07 #3

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

Similar topics

4
by: Bgc | last post by:
Hello All, I've been struggling for years now trying to come up with a solution to a very personal programming problem with Python. I'm an educational programmer, and I make applications that...
0
by: Jack Diederich | last post by:
I'm calling Tk() twice to create two top level windows, which works fine in every respect except fonts. Assigning a Tkfont to widgets in the first Tk() window I create works fine, the font looks...
2
by: Eric McDaniel | last post by:
I am trying to read in a bunch of images and manipulate them using Image::Magick, then display them using Tk::Photo. I would like to do this without creating a temp file for each image, since there...
5
by: jerry.levan | last post by:
Hi, I am trying to port one of my Tcl/Tk apps to Python ( 2.4.2/3). One task is to try to be able to use my wheel mouse to scroll a Tktable object. The tcl code looks like: #Support the...
4
by: BinnyVA | last post by:
I am using Fedora Core 3 Linux and I have a problem with Tk in Python. Whenever I try to run a tk script, I get the error... --------------- Traceback (most recent call last): File "Tk.py",...
0
by: a3355776 | last post by:
On my Mac, the Tk Canvas arc drawing routine produces arcs that are rotated quite a few degrees from their correct location (as many as 10 deg.). It doesn't seem to be a consistent amount though, but...
8
by: Leon | last post by:
Hello, First of all, I beg you pardon for my poor english... You probably know it, but a new version of Tcl/TK has arrived :...
2
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using...
4
by: njwilson23 | last post by:
I'm having trouble with tkinter on a new installation of Python (2.6), built with the framework option from source that was downloaded from python.org. I'm running OS 10.4 on a PowerPC G4. The...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.