pycocotools 构建轮子失败

问题描述 投票:0回答:1

我正在探索YOLO-NAS目标检测,其中我必须安装超级梯度模块,它给出这样的错误

我输入下载的命令是

!pip install super-gradients==3.1.0

给出:

error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pycocotools ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

Building wheel for pycocotools (pyproject.toml): started Building wheel for pycocotools (pyproject.toml): finished with status 'error' Failed to build pycocotools

python opencv yolo
1个回答
0
投票

我在 Colab 笔记本上安装它时遇到了同样的错误。 我试过这个:

!pip install super-gradients

答:

-> Collecting super-gradients
Downloading super_gradients-3.2.0

成功了!

© www.soinside.com 2019 - 2024. All rights reserved.