Ask Your Question

Revision history [back]

Unable to build OpenCV 3.3 + Python 2.7

Hi, I'm trying to build OpenCV 3.3 from source with Mingw in Windows 10 so that i can use SURF, SIFT, etc. I will use it with python 2.7, but i'm finding some troubles.

When I press Configure in CMake, the following errors appear:

Could NOT find PythonInterp: Found unsuitable version "2.7.14", but required is at least "3.4" (found C:/Python27/python.exe)

Could NOT find PythonInterp: Found unsuitable version "2.7.14", but required is at least "3.2" (found C:/Python27/python.exe)

Therefore (i guess), it also says that python2 is unavailable. image description

As you can see, i have python 2.7.14 installed, so i donĀ“t understand why is it giving that error.

If I ignore that and I build and install it, i cannot import cv2 in python.

Does anybody know how can I make it work or why is it failing?

Thanks in advance :)