pip install pycocotools
提示:Microsoft Visual C++ 14.0 or greater is required
安装c++编译器:
https://visualstudio.microsoft.com/zh-hans/visual-cpp-build-tools/
点击:下载生成工具,进行下载。
安装时勾选如下图类似几项即可,图片仅作示例
问题解决:
Installing collected packages: pycocotools
Successfully installed pycocotools-2.0.4



