ERROR Could not build wheels for pycocotools, which is required to install pyproject.toml-based pr

windows安装pycocotools:ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

在这里插入图片描述
问题描述:在使用pip安装pycocotools时出现的上述错误,应该是缺少一些依赖文件

解决方案:安装Microsoft C++ Build Tools,而不需要安装Visual Studio。

已经下载好的文件:链接:https://pan.baidu.com/s/18S0iLl9-_b32GIrr9uS7XQ
提取码:xy8y

解压后:
ERROR Could not build wheels for pycocotools, which is required to install pyproject.toml-based pr_第1张图片
直接安装即可

在pycharm终端再次运行

pip install pycocotools 

问题解决:
在这里插入图片描述
reference: https://blog.csdn.net/weixin_45392081/article/details/125656563

你可能感兴趣的:(python,目标检测)