I am trying to use an alternative version of opencv (3.0) in my Python scripts. I compiled and installed this version to my home directory, and now I am trying to tell Python to use it. I have the standard opencv version (2.4.8) installed with apt-get.
My problem is that python always imports the 2.4.8 version, even when I add the dist-packages of version 3.0 at the beginning or at the end of PYTHONPATH. Deleting opencv 2.4.8 is no option.
How could I do that correctly?