delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/12/12:23:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: [ANNOUNCEMENT] Updated Cygwin Package: python-2.3.4-1
Date: Sat, 12 Jun 2004 18:22:49 +0200
Lines: 56
Message-ID: <1uqr7ng6e523i.dlg@thorstenkampe.de>
References: <20040611181722 DOT 9D9FE400196 AT cgf DOT cx>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: isi-dial-142-124.isionline-dialin.de
User-Agent: 40tude_Dialog/2.0.12.1de

* Jason Tishler (2004-06-11 20:17 +0100)
> New News:
> === ====
> I have updated the version of Python to 2.3.4-1.  The tarballs should be
> available on a Cygwin mirror near you shortly.
> 
> The following is the only notable change since the previous release:
> 
>     o upgrade to Python 2.3.4
> 
> Old News:
> === ====
> Python is an interpreted, interactive, object-oriented programming
> language.  If interested, see the Python web site for more details:
>                                                                    
>     http://www.python.org/                                         
> 
> Please read the README file:
>                             
>     /usr/share/doc/Cygwin/python-2.3.4.README

There is an issue with this release that wasn't there in 2.3.3r2. I'm
importing EasyGUI and get the following traceback:

Python 2.3.4 (#1, Jun 11 2004, 11:50:43) 
[GCC 3.3.1 (cygming special)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
  File "/home/thorsten/python/.pythonrc.py", line 3, in ?
    import easygui, \
  File "/home/thorsten/python/modules/easygui.py", line 47, in ?
    from Tkinter import *
  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: No module named _tkinter

There is a section about _tkinter in the Readme:

2. The _tkinter extension module will only be built if the
XFree86-prog package is installed.                                                                  
                                                                                       
4. _tkinter users should note that Cygwin tcltk is really a Win32                      
package and hence, does *not* understand Cygwin style paths.  To use
the _tkinter module you must define the following environment
variables:
                                                                                       
    $ export TCL_LIBRARY=$(cygpath -w /usr/share/tcl$version)                          
    $ export TK_LIBRARY=$(cygpath -w /usr/share/tk$version)
    
I /have/ XFree installed and I never needed to set those TCL_
variables. So why did I have _tkinter with 2.3.3.r2 and not with
2.3.4r1?!


Thorsten


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019