python库安装:Could not build wheels for opencv-python_error: could not build wheels for pycrypto, which
作者:盐析白兔 | 2024-03-26 14:03:55
赞
踩
error: could not build wheels for pycrypto, which is required to install pyp
python安装opencv出现问题
在重新安装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 就可以了。