I already copy the cv2 and complete the procedure installing opencv and python and I also think the default python installation is usr/lib64/python2.7 and there is also usr/lib/python2.7 and I also move the cv2 using copy -r usr/lib/python2.7/site-packages/cv2.so to usr/lib64/python2.7/site-packages/ it successfully move but when I run the $python
import cv2 [this is what happen1
am still wondering if there is a default directory for centos 64 bit or i did wrong on my steps? I followed this tutorial http://techieroop.com/install-opencv-in-centos/ and i find it simple and fast yet im still stuck installing opencv
Advertisement
Answer
Do the following
yum install numpy opencv* yum check-update
then
import cv2 print cv2.__version__