当前位置:   article > 正文

解决opencv-python 安装报错 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

使用python3.6时会报错

ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

pip更新

pip install --upgrade pip
  • 1

但是发现更新完了之后还是没用,因为主要原因是如果直接安装opencv默认安装最新版,此时找一个python3.6支持的版本就行了,如4.3.0.38,使用如下命令即可成功安装

pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/127144
推荐阅读
相关标签
  

闽ICP备14008679号