Ask Your Question
1

How to manage multiple versions of Python OpenCV?

asked 2013-04-26 13:20:21 -0500

I'm using Ubuntu and OpenCV 2.4.4. I am running some program made using Python bindings of opencv. Now, I want to test this program for python bindings of OpenCV 2.4.4 and OpenCV 2.3.1. Is there a way by which I can manage to do this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-02 20:34:05 -0500

edunham gravatar image

My favorite tool for testing Python code using different versions of dependencies is Virtualenv. The top answer on this stackoverflow question explains the process for getting a virtualenv to use the desired opencv version.

Here is a quick tutorial on the basics of virtualenv.

I hope this helps!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-04-26 13:20:21 -0500

Seen: 944 times

Last updated: May 02 '13