On Sat, Jun 12, 2004 at 06:22:49PM +0200, Thorsten Kampe wrote: > * 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. > [snip] > > There is an issue with this release that wasn't there in 2.3.3r2. I'm > importing EasyGUI and get the following traceback: > > [snip] > 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.
See below... > 4. _tkinter users should note that Cygwin tcltk is really a Win3 > 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 The xorg-x11-devel (previously the XFree86-prog) package only needs to be installed during *build* time not runtime. > and I never needed to set those TCL_ variables. All I can say is over the years, sometimes the variables need to be defined and sometime they don't. Since I'm not a tkinter user, I never fully investigate why. > So why did I have _tkinter with 2.3.3.r2 and not with 2.3.4r1?! Due to an unexpected day off, I built Python 2.3.4-1 on a machine that I haven't used to build Cygwin packages in quite some time. Unfortunately when I updated its Cygwin installation to the latest, I missed the xorg-x11-devel package which prevented _tkinter from being built. I'm building 2.3.4-2 *with* _tkinter right now... 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/