1、问题 pip list查看明明有mmpycocotools==12.0.3,为什么还存在这个问题? 2、解决方法 首先卸载原有的mmpycocotools:pip uninstall mmpycocotools; 然后安装mmpycocotools:pip install mmpycocotools。