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智能体研发之路-模型篇(三):中文大模型开、闭源之争
下一篇: ChatGPT Edu版本来啦:支持GPT-4o、自定义GPT、数据分析等
本文标签
which is required to install pyproj python安装opencv报错ERROR: Could not build wheels for opencv-python
声明
本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。