windows installation pycocotools

Installation pycocotools with the windows environment:

  pip install pycocotools

It is not a successful installation.

Need to https://github.com/philferriere/cocoapi download the source code, after switching to extract the source PythonAPI directory, execute:

python setup.py build_ext --inplace

python setup.py build_ext install

Successful installation.

Guess you like

Origin www.cnblogs.com/zhengbiqing/p/12552775.html