From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from four.fidnet.com ([205.216.200.54] helo=mail.fidnet.com) by cvs.gentoo.org with smtp (Exim 3.30 #1) id 15iJ62-0000VF-00 for gentoo-dev@cvs.gentoo.org; Sat, 15 Sep 2001 11:19:14 -0600 Received: (qmail 1171 invoked from network); 15 Sep 2001 17:18:40 -0000 Received: from unknown (HELO dialup-mo-42.stjames.fidnet.com) (216.229.82.42) by 0 with SMTP; 15 Sep 2001 17:18:40 -0000 Subject: Re: [gentoo-dev] python + Tkinter ? From: "Tod M. Neidt" To: gentoo-dev@cvs.gentoo.org In-Reply-To: <20010915095113.5db7da84.erichey2@home.com> References: <20010915095113.5db7da84.erichey2@home.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Message-Id: <1000556556.486.0.camel@Q.neidt.net> Mime-Version: 1.0 Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sat Sep 15 11:20:02 2001 X-Original-Date: 15 Sep 2001 12:22:35 +0000 X-Archives-Salt: 427fbb69-b4cb-431e-8b50-0656d7af3f87 X-Archives-Hash: 481e7f1c57d7aaa5788dca045903e94f Did you build python with "tcltk" set in your USE variable? tod On Sat, 2001-09-15 at 15:51, Collins Richey wrote: > How does one get python to work with Tkinter classes? > > I have both python and tcl-tk installed, and I find Tkinter stuff in > the python libraries, but I get the following when I try to run a > Tkinter program. > > File "./app1.py", line 2, in ? > from Tkinter import * > File "/usr/lib/python2.0/lib-tk/Tkinter.py", line 35, in ? > import _tkinter # If this fails your Python may not be configured > for Tk > > Obviously I'm missing something. >