Windows下pip安装包报错:error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)...

 

在Windows7x64下使用pip安装包的时候提示报错:

error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat). Get it from http://aka.ms/vcpython27

 

原因:windows下使用pip安装包的时候需要机器装有vs2008,VS2012还不行,如果不想装VS2008的话,可以安装一个Micorsoft Visual C++ Compiler for Python 2.7的包

地址:

Microsoft Visual C++ Compiler for Python 2.7

http://www.microsoft.com/en-us/download/details.aspx?id=44266

转载于:https://www.cnblogs.com/arhatlohan/p/4938398.html

你可能感兴趣的:(Windows下pip安装包报错:error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat)...)