Python 安装cv2包出错

版权声明:如对本文有疑问请联系作者微信kxymxzs,欢迎骚扰! https://blog.csdn.net/MG_ApinG/article/details/90731934

命令行输入 pip install cv2 时报错 ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none)
ERROR: No matching distribution found for cv2

原因是CV2在的软件包不叫cv2而是叫opencv-python

命令换成 pip install opencv-python 就可以了

猜你喜欢

转载自blog.csdn.net/MG_ApinG/article/details/90731934
今日推荐