python安装opencv报错ERROR: Could not build wheels for opencv-python, which is required to install pyproj
酸梅果茶 2024-06-23 13:31:01 阅读 50
python3.6安装opencv遇到报错。如下所示:
pip install opencv-python
报错。
Please check the install target is valid and see CMake's output for more information. ---------------------------------------- ERROR: Failed building wheel for opencv-pythonFailed to build opencv-pythonERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
原因是使用pip install opencv-python
命令安装的是最新版本,python3.6不支持。所以找一个python3.6支持的版本。如opencv-python==4.3.0.38
。
pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38
上一篇: 【AI落地应用实战】LLM + TextIn文档解析技术实测 暨基于TextIn文档解析 + Kimi的智能文档解析助手
下一篇: 书生·浦语大模型实战营 第八节课 微调弱智吧(如果AI可以正确回答弱智吧的所有问题,人类在AI眼里都是弱智吧!)
本文标签
which is required to install pyproj python安装opencv报错ERROR: Could not build wheels for opencv-python
声明
本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。