SO search, and you will find enough discussion of this.
[Edit: based on the comment below]
When you run setup.py install on windows, distutils looks for vcvarsall.bat to run.
About vcvarsall.bat
VCVarsall.bat is a Visual Studio command line tool in Visual Studio. It allows you to set various parameters for the integrated development environment (IDE), as well as create, debug and deploy projects from the command line.
What to do if it does not find this file
Solution 1: File Hunt
- distutils has a hard path to vcvarsall.bat.
- find the file starting with vc * .bat or vc * .cmd. A file that installs the command line environment for the MS compiler toolchain. The location is not compatible with different versions of the visual studio installation. If you are using the 32 bit version, you should find vcvars32.bat.
- drop it in the distutils directory that it expects.
source share