最终解决命令(anaconda环境)
conda install pycocotools -c Esri
在安装遇到的坑
Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects