Python Forum
CompileError: Unable to find vcvarsall.bat
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CompileError: Unable to find vcvarsall.bat
#1
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
Reply


Messages In This Thread
CompileError: Unable to find vcvarsall.bat - by roni_im - Dec-24-2017, 11:36 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020