1
votes

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

1
Welcome to SO. Please read this how-to-ask and follow the guidelines there to improve your question with sufficient information to describe and reproduce your problem. so, update the question with Traceback instead put a link..thewaywewere

1 Answers

1
votes

Do the following

yum install numpy opencv*
yum check-update

then

import cv2
print cv2.__version__