This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Python does not import ctypes.wintypes
* hrmp@volny.cz (Wed, 24 Dec 2008 11:53:40 +0100 (CET))>
> I've got the following problem (both on Windows 2000 and Windows XP):
>
> rol> python
> Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
> [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ctypes
> >>> import ctypes.wintypes
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/tmp/python.6884/usr/lib/python2.5/ctypes/wintypes.py", line 21,
> in <module>
> ValueError: _type_ 'v' not supported
> >>>
> Python from python.org works OK, wintypes.py for cygwin is exactly the
> same as the one from python.org
I suggest you update to the current (Cygwin) version for Python (2.5.2)
and then try again.
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/