ModuleNotFoundError: No module named ‘pycocotools’,
用labelme2coco.py制作coco数据集,出现
Traceback (most recent call last):File "utils/labelme2coco.py", line 14, in <module>import pycocotools.mask
ModuleNotFoundError: No module named 'pycocotools'
在windows10下终端中labelme虚拟环境下运行
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
报错:
再安装:
pip install cython
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI