error: Unable to find vcvarsall.bat

error: Unable to find vcvarsall.bat

faster_rcnn进行训练编译时,报这个错误

faster_rcnn 2015,

项目地址:https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3.5

python版本:3.5

执行这俩命令时报错:

Run python setup.py build_ext --inplace

Run python setup.py build_ext install

解决方法:

安装Python for Visual Studio ,但这个软件最高只支持VS2015,我已安装VS2017,打死都不安装俩VS

参考:https://www.cnblogs.com/yyds/p/7065637.html

VS2017 下,则在visual studio installer中安装python模块,如下图:

就能顺利编译了,气到吐血!!!!

猜你喜欢

转载自blog.csdn.net/bailixuance/article/details/84444778