赞
踩
在安装opencv时 输入了pip install opencv命令后刚开始没问题,但是后续出现报错,Building wheel for opencv-python (pyproject.toml) ... error或者ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects。
报错原因是安装的python版本与opencv不支持,所以需要指定相关的版本来安装opencv,即命令修改为
pip install opencv-python==4.3.0.38
即可安装成功。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。