使用CMake编译opencv源码出现(missing: PYTHON_EXECUTABLE) (Required is at least version “2.7“)

Posted 道亦无名

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用CMake编译opencv源码出现(missing: PYTHON_EXECUTABLE) (Required is at least version “2.7“)相关的知识,希望对你有一定的参考价值。

使用CMake编译opencv源码出现(missing: PYTHON_EXECUTABLE) (Required is at least version “2.7”)出现这个问题:

Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.17763.
Detected processor: AMD64
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7")
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "3.2")
libjpeg-turbo: VERSION 

以上是关于使用CMake编译opencv源码出现(missing: PYTHON_EXECUTABLE) (Required is at least version “2.7“)的主要内容,如果未能解决你的问题,请参考以下文章

opencv学习_C++编译

CMake编译OpenCV

Qt执行Cmake时Cmake出现这种情况时为啥

Ubuntu16.04LTS上用cmake编译安装OpenCV3

CMake编译OpenCV-4.1.2源码,使其可以在VS2012下进行图像处理开发

C/C++开发,linux下OpenCV+gcc+cmake编译环境搭建