错误:命令'gcc'失败:没有这样的文件或目录 [英] Error: command 'gcc' failed: No such file or directory
问题描述
我试图运行一个
python setup.py build --compiler = mingw32
code>
但会导致主题中提到的错误:
<$ p $没有这样的文件或目录
> gcc
gcc:致命错误:无输入文件
编译终止
我正在运行在Windows 7 64位上。 Python27。我正在尝试构建的具体来源:
a>关于这个问题。
任何帮助/建议/解决方案将不胜感激。 解决方案经过数小时和数小时的搜索,我发现这是MinGW和Python之间的问题。它们不能很好地相互通信。
存在一个MinGW(非官方)二进制包,用于Python中的 here
它解决了这个问题!
I'm trying to run a
python setup.py build --compiler=mingw32
but it results in the error mentioned in the subject:
error: command 'gcc' failed: No such file or directory
but I am capable of running gcc from command prompt (i have added it to my PATH env var):
>gcc
gcc: fatal error: no input files
compilation terminated
I'm running on Windows 7 64-bit. Python27. Specific source I'm trying to build:
Previous Post on this issue.
Any help/advice/solutions will be greatly appreciated.
After hours and hours of searching, I've discovered that this is a problem between MinGW and Python. They don't communicate well with one another.
There exists a binary package of MinGW (unofficial) that was meant for use with Python located here
It fixes the problem!
这篇关于错误:命令'gcc'失败:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!