ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)

Enter in the terminal: pip install cv2
an error message appears:
ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none )
ERROR: No matching distribution found for cv2

insert image description here

Reason:
There is no library named cv2, change the command to: pip install opencv-python
insert image description here
The installation is successful!

If there is still an error, change the command to:pip install opencv-contrib-python

Guess you like

Origin blog.csdn.net/weixin_43737995/article/details/132030206