Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)

在windows下使用python时,比如编译python的一个包,会遇到这个问题:

error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)

是说没有在电脑上找到VC9编译器。需要安装一个VCForPython27.msi

微软官方下载地址:http://aka.ms/vcpython27

这个官网有时候打开很慢,我上传到百度云了:http://pan.baidu.com/s/1pL6gtZH

原文地址:https://www.cnblogs.com/zjutzz/p/6029264.html