Windows 10下用pip安装numpy包报错:
Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
Get it from http://aka.ms/vcpython27
通过报错提示信息,打开http://aka.ms/vcpython27会跳转到Microsoft Visual C++ Compiler for Python 2.7的下载页面:
将该程序下载到本地默认安装,再次用pip安装numpy即可成功。
注:该方法同样适用于pip安装其他包时报错Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat)
版权声明:本文为博主原创文章,未经博主允许不得转载。