Hi Mark,
yes this error is annoying, and I am not aware of a solution that actually works for sfepy (failed myself to install sfepy in a W10 virtual box). I assume you tried the solutions proposed for example in [1, 2, 3]? I do not think that I have tried everything, so in case there is something you did not try, could you give it a shot?
r.
[1] https://support.enthought.com/hc/en-us/articles/204469210-Windows-Unable-to-... [2] https://stackoverflow.com/questions/24380442/getting-error-unable-to-find-vc... [3] https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
On 04/07/2016 05:36 PM, 'Mark Shart' via sfepy-devel wrote:
Hi everyone,
I try to install sfepy for window10 following the instruction with python(xy). I can accomplish everything till I need to compile sfepy. The I get the error:Unable to find vcvarsall.bat. I installed the MS C++ Compiler for Python 2.7 but its not working. I also tried other C++ compiler... but still this error drives me crazy. How can I fix this? Please help :\
Hi Robert,
puh it's not only on me :D I could get arround it doing this:
I installed mingw32 to C:\programs\mingw\
Add mingw32's bin directory to your environment variable: append c:\programs\MinGW\bin; to the *PATH*
Edit (create if not existing) *distutils.cfg* file located at C:\Python26\Lib\distutils\distutils.cfg to be:
[build] compiler=mingw32
source: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-ba...
However, I ran into the next error (https://groups.google.com/forum/#!topic/sfepy-devel/FxGiGJSxWtU) I couldn't solve till now.
Maybe you/anybody has an idea? I think I will give sfepy another shot on Linux... :P
Best, Mark
On Friday, April 8, 2016 at 2:07:28 PM UTC+2, Robert Cimrman wrote:
Hi Mark,
yes this error is annoying, and I am not aware of a solution that actually works for sfepy (failed myself to install sfepy in a W10 virtual box). I assume you tried the solutions proposed for example in [1, 2, 3]? I do not think that I have tried everything, so in case there is something you did not try, could you give it a shot?
r.
[1]
https://support.enthought.com/hc/en-us/articles/204469210-Windows-Unable-to-... [2]
https://stackoverflow.com/questions/24380442/getting-error-unable-to-find-vc... [3] https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
On 04/07/2016 05:36 PM, 'Mark Shart' via sfepy-devel wrote:
Hi everyone,
I try to install sfepy for window10 following the instruction with python(xy). I can accomplish everything till I need to compile sfepy. The I get the error:Unable to find vcvarsall.bat. I installed the MS C++ Compiler for Python 2.7 but its not working. I also tried other C++ compiler... but still this error drives me crazy. How can I fix this? Please help :\
Hi Mark,
the other error might be related to the (quite probable) possibility, that the python coming from your Python(x,y) installation was compiled with another compiler than mingw32. Is your computer/OS/Python(x,y) 32 or 64bit?
BTW. do you have the same problems also with anaconda?
r.
On 04/16/2016 05:35 PM, 'Mark Shart' via sfepy-devel wrote:
Hi Robert,
puh it's not only on me :D I could get arround it doing this:
1. I installed mingw32 to C:\programs\mingw\ 2. Add mingw32's bin directory to your environment variable: append c:\programs\MinGW\bin; to the *PATH* 3. Edit (create if not existing) *distutils.cfg* file located at C:\Python26\Lib\distutils\distutils.cfg to be: [build] compiler=mingw32
source: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-ba...
However, I ran into the next error (https://groups.google.com/forum/#!topic/sfepy-devel/FxGiGJSxWtU) I couldn't solve till now.
Maybe you/anybody has an idea? I think I will give sfepy another shot on Linux... :P
Best, Mark
On Friday, April 8, 2016 at 2:07:28 PM UTC+2, Robert Cimrman wrote:
Hi Mark,
yes this error is annoying, and I am not aware of a solution that actually works for sfepy (failed myself to install sfepy in a W10 virtual box). I assume you tried the solutions proposed for example in [1, 2, 3]? I do not think that I have tried everything, so in case there is something you did not try, could you give it a shot?
r.
[1]
https://support.enthought.com/hc/en-us/articles/204469210-Windows-Unable-to-... [2]
https://stackoverflow.com/questions/24380442/getting-error-unable-to-find-vc... [3] https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
On 04/07/2016 05:36 PM, 'Mark Shart' via sfepy-devel wrote:
Hi everyone,
I try to install sfepy for window10 following the instruction with python(xy). I can accomplish everything till I need to compile sfepy. The I get the error:Unable to find vcvarsall.bat. I installed the MS C++ Compiler for Python 2.7 but its not working. I also tried other C++ compiler... but still this error drives me crazy. How can I fix this? Please help :\
Hi Robert,
I tried both compiler and simply replaced 32 with 64, but maybe this is the too simple and wrong way? Sorry I'm a total noob with this :D
On Friday, April 8, 2016 at 2:07:28 PM UTC+2, Robert Cimrman wrote:
Hi Mark,
yes this error is annoying, and I am not aware of a solution that actually works for sfepy (failed myself to install sfepy in a W10 virtual box). I assume you tried the solutions proposed for example in [1, 2, 3]? I do not think that I have tried everything, so in case there is something you did not try, could you give it a shot?
r.
[1]
https://support.enthought.com/hc/en-us/articles/204469210-Windows-Unable-to-... [2]
https://stackoverflow.com/questions/24380442/getting-error-unable-to-find-vc... [3] https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
On 04/07/2016 05:36 PM, 'Mark Shart' via sfepy-devel wrote:
Hi everyone,
I try to install sfepy for window10 following the instruction with python(xy). I can accomplish everything till I need to compile sfepy. The I get the error:Unable to find vcvarsall.bat. I installed the MS C++ Compiler for Python 2.7 but its not working. I also tried other C++ compiler... but still this error drives me crazy. How can I fix this? Please help :\
IMHO we should look at how numpy gets the extensions compiled - the build system of sfepy is based on numpy distutils, and has not been updated a long time (as it worked OK everywhere). Maybe something has changed. I will look at it as time permits.
FYI: I have added [1], so possible new findings can be posted there.
r.
[1] https://github.com/sfepy/sfepy/issues/318
On 04/19/2016 06:57 PM, 'Mark Shart' via sfepy-devel wrote:
Hi Robert,
I tried both compiler and simply replaced 32 with 64, but maybe this is the too simple and wrong way? Sorry I'm a total noob with this :D
On Friday, April 8, 2016 at 2:07:28 PM UTC+2, Robert Cimrman wrote:
Hi Mark,
yes this error is annoying, and I am not aware of a solution that actually works for sfepy (failed myself to install sfepy in a W10 virtual box). I assume you tried the solutions proposed for example in [1, 2, 3]? I do not think that I have tried everything, so in case there is something you did not try, could you give it a shot?
r.
[1]
https://support.enthought.com/hc/en-us/articles/204469210-Windows-Unable-to-... [2]
https://stackoverflow.com/questions/24380442/getting-error-unable-to-find-vc... [3] https://github.com/cython/cython/wiki/CythonExtensionsOnWindows
On 04/07/2016 05:36 PM, 'Mark Shart' via sfepy-devel wrote:
Hi everyone,
I try to install sfepy for window10 following the instruction with python(xy). I can accomplish everything till I need to compile sfepy. The I get the error:Unable to find vcvarsall.bat. I installed the MS C++ Compiler for Python 2.7 but its not working. I also tried other C++ compiler... but still this error drives me crazy. How can I fix this? Please help :\
participants (2)
-
Mark Shart
-
Robert Cimrman