当前位置:   article > 正文

Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

could not build wheels for opencv-python which use pep 517 and cannot be ins

一、问题

当我们运行代码要运用到cv2库时,提示我们没有安装cv2,而直接用pip install opencv-python下载却显示下载失败:Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly
在这里插入图片描述

二、问题解决

直接运用conda安装

conda install py-opencv
  • 1

在这里插入图片描述
随后完成cv2的安装。

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

闽ICP备14008679号