[New-bugs-announce] [issue21821] The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7

PierreAugier report at bugs.python.org
Sat Jun 21 16:35:56 CEST 2014


New submission from PierreAugier:

Under Windows 7, with Python 3.4.1 |Anaconda 2.0.1 (64-bit), calling the function cygwinccompiler.is_cygwingcc of the distutils package leads to a FileNotFoundError.

I solved the problem for me by adding the argument shell=True in l. 404 of cygwinccompiler.py:

out_string = check_output(['gcc', '-dumpmachine'], shell=True)

----------
components: Distutils
messages: 221177
nosy: dstufft, eric.araujo, paugier
priority: normal
severity: normal
status: open
title: The function cygwinccompiler.is_cygwingcc leads to FileNotFoundError under Windows 7
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21821>
_______________________________________


More information about the New-bugs-announce mailing list