git clone https://github.com/cocodataset/cocoapi.git cd cocoapi Type in 2to3 . -w python setup.py install