Dec-24-2017, 11:36 AM
Hi,
I'm using python 2.7 with anaconda.
I try to run a file that uses the function weave.inline() however I get the error:
"CompileError: error: Unable to find vcvarsall.bat"
I've installed microsoft c++ comiler for python, but stiil keep getting the error.
(When i do search on the file "vcvarsall.bat" in the "C" directory, I don't get any results.)
The detailed error is:
Missing compiler_cxx fix for MSVCCompiler
Traceback (most recent call last):
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\inline_tools.py", line 366, in inline
**kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\inline_tools.py", line 496, in compile_function
verbose=verbose, **kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\ext_tools.py", line 373, in compile
verbose=verbose, **kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\build_tools.py", line 279, in build_extension
setup(name=module_name, ext_modules=[ext],verbose=verb)
File "C:\Users\Ron\Anaconda2\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\Ron\Anaconda2\lib\distutils\core.py", line 166, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: Unable to find vcvarsall.bat
Can anyone help me?
Thank, Ron
I'm using python 2.7 with anaconda.
I try to run a file that uses the function weave.inline() however I get the error:
"CompileError: error: Unable to find vcvarsall.bat"
I've installed microsoft c++ comiler for python, but stiil keep getting the error.
(When i do search on the file "vcvarsall.bat" in the "C" directory, I don't get any results.)
The detailed error is:
Missing compiler_cxx fix for MSVCCompiler
Traceback (most recent call last):
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\inline_tools.py", line 366, in inline
**kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\inline_tools.py", line 496, in compile_function
verbose=verbose, **kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\ext_tools.py", line 373, in compile
verbose=verbose, **kw)
File "C:\Users\Ron\Anaconda2\lib\site-packages\weave\build_tools.py", line 279, in build_extension
setup(name=module_name, ext_modules=[ext],verbose=verb)
File "C:\Users\Ron\Anaconda2\lib\site-packages\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\Ron\Anaconda2\lib\distutils\core.py", line 166, in setup
raise SystemExit, "error: " + str(msg)
CompileError: error: Unable to find vcvarsall.bat
Can anyone help me?
Thank, Ron