是因为pycocotools不支持windows。

但是有大神已经修改出了windows版本,https://github.com/philferriere/cocoapi

执行,

pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

打印出如下信息,已经安装成功了。

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐