I am attempting the installation of OpenPIV (python build) on 64-bit Win7.
Upon downloading the setup files(located - https://github.com/alexlib/openpiv-python) and running:
python setup.py install
I receive the error:
error: Unable to find vcvarsall.bat
Some research informed me to use:
python setup.py build --compiler=mingw32
Which then resulted in:
error: command 'gcc' failed: No such file or directory.
So, I installed MinGW and adjusted the PATH variable to include C:\MinGW\bin
, where gcc.exe
is located, but no dice. Following this, I tried restarting my command prompt, restarting my computer, reinstalling MinGW, and reinstalling the setup files.
Running gcc:
C:\OpenPIV\> gcc
gcc:fatal error: no input files
compilation terminated.
Which I assume means gcc works, but
python setup.py build --compiler=mingw32
still results in:
error: command 'gcc' failed: No such file or directory.
Thanks everyone. Any suggestions/tips would 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
This fixes the problem!