安装步骤 git clone https://github.com/pdollar/coco.git cd coco/PythonAPI python setup.py build_ext --inplace python setup.py build_ext instal 安装之后运行demo里的脚本,报错No module named ‘pycocotools._mask’ 原因是工程下的pycocotools文件重名了,把该文件夹重命名即可