问题描述:
python 中使用cv2导入时报如下错,
ERROR: Could not find a version that satisfies the requirement cv2
ERROR: No matching distribution found for cv2
PS D:\workspace\python_workspaces> pip install cv2
ERROR: Could not find a version that satisfies the requirement cv2
ERROR: No matching distribution found for cv2
解决方法:
安装opencv-python,如下
python -m pip install opencv-python