遇到pycocotools问题

这个怎么解决啊,下载老是失败,有没有好方法可以直接解决问题。求帮忙。

img

https://blog.csdn.net/Code_and516/article/details/130287908?spm=1001.2014.3001.5502

这个我遇到过,我自己写了一个教程,超级简单,就是这篇文章可以帮到你!

直接gitHub上下载源码并解压进行安装


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

# install pycocotools locally
python setup.py build_ext --inplace
 
# install pycocotools to the Python site-packages
python setup.py build_ext install

你的pyt是哪个版本的?