ModuleNotFoundError: No module named 'pycocotools' --Windows10 安装 COCOAPI

git clone https://github.com/cocodataset/cocoapi.git
    
    #To prevent installation error do the following after commiting cocooapi : 
    #using file explorer  naviagate to cocoapi\PythonAPI\setup.py and change line 14 from:
    #extra_compile_args=['-Wno-cpp', '-Wno-unused-function', '-std=c99'],
    #to
    #extra_compile_args={'gcc': ['/Qstd=c99']},
    #Based on  https://github.com/cocodataset/cocoapi/issues/51

cd cocoapi/PythonAPI
python setup.py build_ext install

你可能感兴趣的:(ModuleNotFoundError: No module named 'pycocotools' --Windows10 安装 COCOAPI)