I am having trouble in installing OpenCV for Python 3.x in Windows 7

asked 2015-02-06 16:46:40 -0600

s0r2637 gravatar image

updated 2015-02-06 16:49:40 -0600

I tried to create OpenCV bindings for Python 3.x from the source file in GitHub. I use the CMake utility and Mingw-GCC compiler to achieve that. The build came out successfully, but I don't know how to proceed from there. How do I get the openCV module to work in Python 3.x? Any help would be highly appreciated. I have been toiling for a couple of days now.

P.S. Btw, I used the instructions in the following website: http://docs.opencv.org/trunk/doc/py_t... Instead of Visual Studio, I used TDM-GCC-64 compilers. What do I do after I finish Step 13 provided in the above link.

edit retag flag offensive close merge delete


typing make should compile the opencv libs and cv2.pyd

then, typing make install should copy it to your python install folder

berak gravatar imageberak ( 2015-02-07 02:15:41 -0600 )edit

Could you please tell me from which folder should I type the make command? Is it the build folder or the source folder? Also is make utility is part of the CMake or MingW ? Sorry for such basic questions, but I am not an expert in installing from source.

s0r2637 gravatar images0r2637 ( 2015-02-07 11:12:10 -0600 )edit