当前位置:   article > 正文

安装opencv时报错:ERROR: Could not build wheels for opencv-python, 解决办法_error: could not build wheels for opencv-python, w

error: could not build wheels for opencv-python, which is required to instal

在安装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

即可安装成功。

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/84702
推荐阅读
相关标签
  

闽ICP备14008679号