windows安装pycocotools

windows环境下安装pycocotools用:

  pip install pycocotools

是无法安装成功的。

需到https://github.com/philferriere/cocoapi下载源码,解压后切换到源码的PythonAPI目录,执行:

python setup.py build_ext --inplace

python setup.py build_ext install

安装成功。

posted @ 2020-03-23 19:57  碧水青山  阅读(4104)  评论(0编辑  收藏  举报