Hello Yong,
On 09/03/2015 06:22 PM, Yong Xu wrote:
Hello
I am trying to install sfepy package following the instructions in the documentation. The part I am referring to is "Windows Using Python(x,y) <http://sfepy.org/doc-devel/installation.html#table-of-contents>". I managed to have Python(x,y), pyparsing, umfpackpy installed. But msysgit exists no more, it is now called "Git for windows". (I installed Git-2.5.1-64-bit.exe)
Yes, those instructions are rather obsolete now. Alternatively, you could try the anaconda install, but then the default linear system solver will be slower, as it does not support umfpack.
Error comes when I compile the sfepy C extensions with command in gitbash: python setup.py build_ext --inplace --compiler=mingw32 error: Unable to find vcvarsall.bat
I tried also: python setup.py build_ext --inplace --compiler=mingw64. The error is the same.
It looks like the C compiler is not found properly, and setup.py tries to use Visual Studio. Try googling "error: Unable to find vcvarsall.bat" - there seems to be a number of answers on stackoverflow (install MSVC 2008, istall gc, add mingw to PATH, ...). I have no clue which one will work for you, though.
r.