windows环境下安装pycocotools用:
pip install pycocotools
是无法安装成功的。
需到https://github.com/philferriere/cocoapi下载源码,解压后切换到源码的PythonAPI目录,执行:
python setup.py build_ext --inplace
python setup.py build_ext install
安装成功。
Windows下安装pycocotools
本文介绍在Windows环境下如何成功安装pycocotools。由于使用pip无法直接安装,需从GitHub下载源码并手动编译。具体步骤为下载源码、解压并进入PythonAPI目录,然后执行python setup.py build_ext --inplace和python setup.py install命令。
windows环境下安装pycocotools用:
pip install pycocotools
是无法安装成功的。
需到https://github.com/philferriere/cocoapi下载源码,解压后切换到源码的PythonAPI目录,执行:
python setup.py build_ext --inplace
python setup.py build_ext install
安装成功。
302

被折叠的 条评论
为什么被折叠?