Fix "Unable to find vcvarsall.bat" on Windows
I found the answer to resolve it from Stackoverflow, here is how to Fix it:
For Windows installations:
While running setup.py for package installations Python 2.7 searches for an installed Visual Studio 2008. You can trick Python to use a newer Visual Studio by setting the correct path in VS90COMNTOOLS environment variable before calling setup.py.
If you have Visual Studio 2010 installed, execute
SET VS90COMNTOOLS=%VS100COMNTOOLS%
or with Visual Studio 2012 installed
SET VS90COMNTOOLS=%VS110COMNTOOLS%
Another way to resolve this problem
I found the solution. I had the exact same problem, and error, installing 'amara'. I had mingw32 installed, but distutils needed to be configured.
I have Python 2.6 that was already installed.
I installed mingw32 toC:\programs\mingw\
Add mingw32's bin directory to your environment variable: appendc:\programs\MinGW\bin;to thePATH
Edit (create if not existing)distutils.cfgfile located atC:\Python26\Lib\distutils\distutils.cfgto be:
Now runeasy_install.exe amara.
Make sure environment is set by opening a newcmd.exe.