下载 mmcv时报错 ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects
时间: 2023-10-15 13:24:10 浏览: 155
Python库 | build_install_wheels-0.2.0.tar.gz
你在下载mmcv时遇到了错误,错误信息显示无法构建opencv-python的wheel,而这个包是安装pyproject.toml-based项目所必需的。错误可能是由于你的电脑上缺少Microsoft Visual Studio或者与opencv-python版本相关的依赖不一致造成的。建议你先检查一下你的电脑上是否安装了Microsoft Visual Studio,并且确保安装的opencv-python的版本与mmcv所需的版本兼容。如果没有安装Visual Studio,你可以尝试安装最新版本的Visual Studio或者安装适当版本的opencv-python来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【Bug】ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-...](https://blog.csdn.net/AugustMe/article/details/126402049)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [lanms-neo-1.0.2-cp38-cp38-win-amd64.whl](https://download.csdn.net/download/sayonekui/87429886)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文