Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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:

OpenPIV

Previous Post on this issue.

Any help/advice/solutions will be greatly appreciated.

like image 414
sihrc Avatar asked Jul 31 '13 13:07

sihrc


1 Answers

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!

like image 196
sihrc Avatar answered Sep 28 '22 06:09

sihrc