pip下载cv2出现下面的错误:
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
我的Python版本是3.7+
解决方案:
修改pip语句为:pip install opencv-python
,下载完毕后再import cv2
就可以正常使用了。
时间:2019-12-28 04:40:21
pip下载cv2出现下面的错误:
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
我的Python版本是3.7+
解决方案:
修改pip语句为:pip install opencv-python
,下载完毕后再import cv2
就可以正常使用了。