tkinter with X without installing from fink

how can I use tkinter with X without install it from fink? I don't want change my current python setup and I already have tkinter installed but it runs only in cocoa mode. is there any easy solution for this problem?

mac mini server and MBP 15.4", Mac OS X (10.6.1), ipod touch

Posted on May 29, 2010 11:50 AM

Reply
5 replies

May 29, 2010 1:25 PM in response to noname242

{quote:title=noname242 wrote:}
thanks. I've read that post and it ends up with a fink install of python. But fink will break a bunch of other python specific installs, numpy and scipy and my current 2.6 python setup. Besides, I don't really like all of the extra packages that fink tries to install. Isn't some way around this?

{quote}

Fink most certainly will NOT do that.

The worst it will do is put /sw/bin/python at the head of the path, before /usr/bin/python

Just do something like this:

alias python=/usr/bin/python
alias pythonx=/sw/bin/python

or whatever else you need, or don't source /sw/bin/init.sh unless you need what fink has.

Fink will install tcl, tk as dependencies, since you need these for the X11 version.

Otherwise, just download the X11-competent version of the source code and compile it yourself. You'll still need X11 versions of tcl and tk.

May 29, 2010 10:02 PM in response to noname242

It installs several packages that are related to the debian package management system.

It also installs gnutar and calls it "tar", which really irritates me (I can honestly say that as a heavy fink-user and minor-league maintainer, this is one of a very few complaints that I have.) The same alias trick solves that problem for me, but if you find fink annoying, you can always go into /sw/bin and delete whatever you find irksome. Fink keeps a debian archive of what it compiles, so reinstalling something you hack out takes only a few seconds.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

tkinter with X without installing from fink

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.