Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 19 Nov 2003 11:46:23 -0500 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: Python Tkinter Message-ID: <20031119164623.GA1592@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: <20031119162642 DOT 64825 DOT qmail AT web10002 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031119162642.64825.qmail@web10002.mail.yahoo.com> User-Agent: Mutt/1.4i On Wed, Nov 19, 2003 at 08:26:42AM -0800, james pentland wrote: > how do i configure Python for Tkinter? > i can not find _tkinter.py. > > >>> import Tkinter > Traceback (most recent call last): > File "", line 1, in ? > File "/usr/lib/python2.3/lib-tk/Tkinter.py", line > 38, in ? > import _tkinter # If this fails your Python may > not be configured for Tk > ImportError: dlopen: Win32 error 126 WFM: $ python -c 'import Tkinter' $ BTW: $ fgrep 126 /usr/include/w32api/winerror.h | head -1 #define ERROR_MOD_NOT_FOUND 126L Are you using the official Cygwin Python package? Or, one you built yourself? If the latter, what does the following indicate? $ cygcheck -c python Cygwin Package Information Package Version Status python 2.3.2-1 OK Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/