ERROR: Could not find a version that satisfies the requirement cv2 (from -r requirements.txt (line 26)) (from versions: none) ERROR: No matching distribution found for cv2 (from -r requirements.txt (line 26)) code example

Example: ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2

#Know the reason is really dumb, because the reason is that the package of CV2 is not called cv2 but called opencv-python

pip install opencv-python

#For python3:
pip3 install opencv-python

Tags:

Misc Example