Solution to error when installing pycoctools when running YOLOv5 in win10

pip install pycocotools 

Error:

ERROR: Failed building wheel for pycocotools

Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly

Solution

Direct brute force installation, go to cocotools official website to download pycocotools · The version package required by PyPI is generally greater than 2.0

After downloading, unzip and directly copy and paste these two blackened files

Just paste it in the following path.

 

Guess you like

Origin blog.csdn.net/cxzgood/article/details/124135073