windows安装pycocotools错误:cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
在安裝基于keras、tensorflow實(shí)現(xiàn)的Mark RCNN(https://github.com/matterport/Mask_RCNN),要運(yùn)行其中的demo.ipynb時(shí),需安裝pycocotools。
在windows下可能會(huì)出現(xiàn)以下錯(cuò)誤:
?
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for pycocotools
?
解決辦法:
pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
即可安裝成功。
轉(zhuǎn)載于:https://www.cnblogs.com/zhengbiqing/p/11255323.html
總結(jié)
以上是生活随笔為你收集整理的windows安装pycocotools错误:cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: SDNU 1416.一元三次方程求解(数
- 下一篇: python学习day06--01