使用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 

你可能感兴趣的:(图形图像处理,python,opencv,人工智能)