Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 09:29:02 +0300
From:      Andy Fawcett <andy@athame.co.uk>
To:        freebsd-ports@freebsd.org
Cc:        Guy Middleton <guy@obstruction.com>
Subject:   Re: python builds without tkinter
Message-ID:  <200409290929.05352.andy@athame.co.uk>
In-Reply-To: <20040929061636.GA50960@chaos.obstruction.com>
References:  <20040929061636.GA50960@chaos.obstruction.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 29 September 2004 09:16, Guy Middleton wrote:
> 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.

See /usr/ports/lang/python/pkg-message, to see why tkinter is not 
installed by default.

A.

-- 
Andy Fawcett                                     | andy@athame.co.uk
                                                 | tap@kde.org
"In an open world without walls and fences,      | tap@lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap@fruitsalad.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409290929.05352.andy>