ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activepython
activepython
python and Tix.Tk() on Mac
by Alan other posts by this author
Jul 11 2007 8:39AM messages near this date
view in the new Beta List Site
| Re: python and Tix.Tk() on Mac
Hi List,

I have I Macbook Pro Intel running OSX 10.4.10.

I downloaded ActivePython-2.5.1.1-macosx.dmg 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.

So I downloaded ActiveTcl8.4.14.0.272572-macosx-universal-threaded.dmg
hoping to get Tix.Tk() working but I got it:
> >> 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
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Alan
Trent Mick

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved