[New-bugs-announce] [issue32287] Import of _pyio module failed on cygwin

Matúš valo report at bugs.python.org
Tue Dec 12 06:14:02 EST 2017


New submission from Matúš valo <matusvalo at gmail.com>:

When trying to impor _pyio from python3 in Cygwin, import fails with exception:
$ python3
Python 3.6.3 (default, Oct 31 2017, 19:00:36)
[GCC 6.4.0] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import _pyio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/_pyio.py", line 17, in <module>
    from msvcrt import setmode as _setmode
ModuleNotFoundError: No module named 'msvcrt'

This issue is breaking cherrypy server (cheroot component):
https://github.com/cherrypy/cheroot/blob/86c6b246ec7cb704c6f96123556db1a083301634/cheroot/makefile.py#L5

----------
components: IO, Library (Lib)
messages: 308115
nosy: Matúš valo
priority: normal
severity: normal
status: open
title: Import of _pyio module failed on cygwin
type: crash
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32287>
_______________________________________


More information about the New-bugs-announce mailing list