python builds without tkinter

Guy Middleton guy at obstruction.com
Tue Sep 28 23:16:51 PDT 2004


On a 5.3-BETA5 system, built Python from the port, tkinter appears to be
missing:


$ python
Python 2.3.4 (#2, Sep 29 2004, 02:13:43) 
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
>>> 


The system has tcl8.4 and tk8.4 installed, I thought the Python port would be
able to find these.


More information about the freebsd-ports mailing list