获取错误python setup.py build_ext-需要VC C ++ 14.0

时间:2018-07-26 01:36:43

标签: python tensorflow deep-learning darkflow

执行TensorFlow代码的setup.py以运行darknet时,我遇到了有关Microsoft Visual C ++版本的错误。

命令:

C:\Users\usename\Desktop\Dark\darkflow>python setup.py build_ext --inplace

输出:

running build_ext
building 'darkflow.cython_utils.nms' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

1 个答案:

答案 0 :(得分:0)

在安装Visual Studio 14构建工具后解决了此问题 链接下载visualstudiobuildtool