Fix cocoapi(https://github.com/cocodataset/cocoapi.git) Install into global site-packages make install Alternatively, if you do not have permissions or prefer not to install the COCO API into global site-packages python3 setup.py install --user