win10中运行YOLOv5时安装pycoctools报错解决方法

pip install pycocotools 

报错 :

ERROR: Failed building wheel for pycocotools

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

解决方法

直接暴力安装 ,进入cocotools官网下载pycocotools · PyPI需要的版本包,一般是要大于2.0的

下载后解压,直接将这两个标黑的文件复制粘贴

粘贴在如下路径即可。

猜你喜欢

转载自blog.csdn.net/cxzgood/article/details/124135073
今日推荐