python库安装:Could not build wheels for opencv-python
在重新安装opencv的时候,系统出现报错:ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects。然后上网查了后,发现是python版本不支持最新的opencv,需要安装一个旧版本的,比如4.3.0.38的。安装旧版本需要在安装指令后面加上段代码:opencv-python==4.3.0.38 就可以了。
原创
2023-03-12 13:38:08 ·
2265 阅读 ·
6 评论