how to install cv2 in python using pip code example Example: install opencv python pip install opencv-python pip install opencv-contrib-python