Opencv installation in ubuntu python

don’t do any of that. you don’t need to build OpenCV yourself.

just pip3 install opencv-python