This is how you install opencv 3.1.0 python3.4 on ubuntu
You can find a comprehensible guide to installing openCV with python 3.4 on ubuntu 14.04 and 15.10 here.
https://github.com/erik78se/opencv-in...
Thanx for helping out in the #irc channel too in Freenode.
HI, there the author states that compiling opencv 3.1.0 using gcc and g++ 4.9+ fails, but it is not true. I build it using version 5.3 on Ubuntu 16.04 and it works for me