Ask Your Question

Revision history [back]

If you want to use different applications I recommend you to use pyvenv or virtualenv wrapper. Then you can have each version in a different virtual environment.

See more for venv ins https://docs.python.org/3/library/venv.html

And there are a lot of tutorials on how using it. It's quite simple and let your python libraries more organized.

However if you talking about building from source two opencv versions, then I don't know how to do either, I think both version will conflict on calling its funcitons that share the same name. I have tried to build one version from source and changing all namespaces and funtion name but it took me a lot of time and no success.

Let me know if you have found some solution.