install cv2 using pip3 code example Example: install opencv python pip install opencv-python pip install opencv-contrib-python