Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

opencv with python2.7 and python 3

$
0
0
Hi, I am trying to build both opencv3 for python2.7 and python3. I was inside a virtualenv for python2.7 and then called cmake & make as static libs. These files got created lib/cv2.so lib/python3/cv2.cpython-34m.so Both python3 and python2.7 cv2.so files have been built. My questions are - 1) It seems to build cv2.so for both python2 and python3. Does it matter which python environment I am in? Can I just pick these up? Or Create another virtualenv for python3 and do a build? like it is mentioned here. http://www.pyimagesearch.com/2015/07/27/installing-opencv-3-0-for-both-python-2-7-and-python-3-on-your-raspberry-pi-2/ 2) Can I just copy these two files. I don't want to do any make install. Thanks T

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>