当前位置:   article > 正文

安装 python-opencv 时,报错 Could not build wheels for opencv-python ..PEP 517_error: opencv_python-3.3.0.10-cp27-cp27m-manylinux

error: opencv_python-3.3.0.10-cp27-cp27m-manylinux1_x86_64.whl is not a supp

问题描述:

pip install安装python-opencv时候出现报错: ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly

 问题分析:

python-opencv  版本过高,降低python-opencv到3.3.0.10

问题解决:

  1. 下载清华源镜像,下载连接:https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/opencv-python/

  1. pip 安装

pip install '/home/yinchu2023/opencv_python-3.3.0.10-cp36-cp36m-manylinux1_x86_64.whl'
  1. 安装成功,import cv2验证

import cv2

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

闽ICP备14008679号