使用如下代码安装pycocotools工具时,提示:error: command 'D:\vs2015\VC\BIN\x86_amd64\cl.exe' failed with exit status 2。
命令:
python setup.py build_ext --inplace
python setup.py build_ext install。
试了很久都找不到解决办法。
补充:python3.6版本的,tensorflow1.14.0版本的。
D:\vs2015\VC\BIN\x86_amd64\cl.exe cl是在这个路径里么。换gcc而不是vc++编译看看