Python: Windows下pip安装库出错:Microsoft Visual C++ 9.0 is required < Unable to find vcvarsall.bat

由于vs编译环境问题,需要设定vs2008的环境变量,如果机器上装有其他版本的vs比如vs2012,

可以做设定例如SET VS90COMNTOOLS=%VS120COMNTOOLS%即可

原文地址:https://www.cnblogs.com/tyoyi/p/5137539.html