python - Opencv 2.4 and 3.1: choose default one - Ask Ubuntu
hi searched couldn't find solution yet; kind of new ubuntu. have both opencv 2.4 , 3.1 on machine. if
pkg-config --modversion opencv
it print out 3.1.0; if use python ,
print cv2.__version__
then give 2.4.8. want make 3.1 default 1 when
import cv2
in python. how do this?
edit:
i'm on ubuntu 14.04. installed opencv 3 through this: script installation. opencv 2.4 installed earlier in similar way. if check
/usr/local/lib
there 2 sets of .so files: libopencv_core.so , libopencv_core.so.3.1. should proceed here?
Comments
Post a Comment