Mail Archives: cygwin/2004/06/12/12:23:33
* 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 -