Search code examples
windows-10python-3.7pycocotools

How to install pycocotools on Windows 10


I am trying to install pycocotools on Windows 10. I used this command:

pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI

You can see the error output in the following picture:

enter image description here

Any ideas on how to fix that?


Solution

  • Windows building of some COCO tools gave me a bit of a headache too, I finnaly translated decode mask function for the Windows version of my code.

    https://github.com/armengot/COCO_decode_mask/tree/main/python

    In Linux any problems.