How do you get OpenCV 3.0 to install cv2.so during make install?

asked 2015-07-31 18:54:20 -0500

I recently built OpenCV 3.0 from source and installed it to my Ubuntu 14.04 system.

I double checked that various options were set using ccmake dir with CMakeLists.txt, including BUILD_opencv_python2=ON. However, after doing make and make install, cv2.so was not copied to e.g. /usr/local/lib/python2.7/site-packages. Instead I needed to manually copy it myself from lib/cv2.so in order for import cv2 to work within a python program.

Is this the right behavior?

edit retag flag offensive close merge delete

Comments

sudo make install

berak gravatar imageberak ( 2015-08-01 02:59:20 -0500 )edit