ERROR: Could not find a version that satisfies the requirement opencv-phyton code example

Example 1: 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

Example 2: pip error could not find a version that satisfies the requirement

$ curl https://pypi.org

The requestors Network has been blacklisted due to excessive request volume. 
If you are a hosting customer, please contact your hosting company's support. 
If you are the hosting company, please contact [email protected] to resolve

Tags:

Misc Example