git clone https://github.com/cocodataset/cocoapi.gitcd cocoapi/PythonAPIpython setup.py build_ext --inplacepython setup.py build_ext instal
拷贝PythonAPI 下的pycocotools 到 python .../site-packages目录下