usage of python 2.3 and Tk on freebsd ?

Neil Blakey-Milner nbm at mithrandr.moria.org
Tue Aug 19 06:01:25 EDT 2003


On Tue 2003-08-19 (06:30), Gerald Hein wrote:
> I'm using FreeBSD 4.8 and upgraded to python 2.3.
> I tried import Tk and got an error message telling me that python is not 
> configured for Tk. I never tried importing Tk before, so I don't know 
> what t I've to do to fix this. Python seems to have a problem with _tkinter.
> What could be done in order to get python configured for Tk ?

Hi Gerald,

I'm guessing you're using FreeBSD's port system or a package built from
it.  It was decided to split off the tkinter module into a separate port -
x11-toolkits/py-tkinter.  Install that port, and your program using Tk
should work.

Good luck,

Neil
-- 
Neil Blakey-Milner
nbm at mithrandr.moria.org





More information about the Python-list mailing list