错误:命令'gcc'失败:没有这样的文件或目录

我试图运行一个

python setup.py build --compiler=mingw32 

但是会导致主题中提到的错误:

 error: command 'gcc' failed: No such file or directory 

但我能够从命令提示符运行gcc(我已经将它添加到我的PATH env var):

 >gcc gcc: fatal error: no input files compilation terminated 

我在Windows 7 64位上运行。 Python27。 我试图build立的具体来源:

OpenPIV

以前的post在这个问题上。

任何帮助/build议/解决scheme将不胜感激。

经过几个小时的搜索,我发现这是MinGW和Python之间的一个问题。 他们彼此沟通不好。

有一个MinGW(非官方)的二进制包,用于在这里使用的Python

它解决了这个问题!