python3.6安装opencv遇到报错。如下所示:pip install opencv-python
报错。文章来源:https://www.toymoban.com/news/detail-501883.html
Please check the install target is valid and see CMake's output for more information.
----------------------------------------
ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: 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
。
文章来源地址https://www.toymoban.com/news/detail-501883.html
pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38
到了这里,关于python安装opencv报错ERROR: Could not build wheels for opencv-python, which is required to install pyproj的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!