问题描述
Python3.5.1 用 pip 安装numpy(pip install numpy)时出现 “Unable to find vcvarsall.bat ”
解决方法
参考知乎的回答,直接使用whl安装
步骤
1.安装wheel,命令行运行:pip install wheel
2.下载对应的.whl文件
3. 进入.whl所在的文件夹,执行命令即可完成安装 pip install 带后缀的完整文件名
PS:如果出现**is not a supported wheel on this platform.**的报错,应该是.whl文件的文件名格式不对,输入import pip; print(pip.pep425tags.get_supported()),修改对应的文件名,在install即可。