在Anaconda的终端执行下述命令即可: pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI