python versions for which opencv is available code example
Example 1: install opencv
sudo pip3 install opencv-contrib-python
Example 2: install opencv
#pip install opencv-python in cmd/bash
import cv2
sudo pip3 install opencv-contrib-python
#pip install opencv-python in cmd/bash
import cv2