日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 >

windows安装pycocotools错误:cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'

發(fā)布時間:2024/4/15 57 豆豆
生活随笔 收集整理的這篇文章主要介紹了 windows安装pycocotools错误:cl : Command line error D8021 : invalid numeric argument '/Wno-cpp' 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

在安裝基于keras、tensorflow實(shí)現(xiàn)的Mark RCNN(https://github.com/matterport/Mask_RCNN),要運(yùn)行其中的demo.ipynb時,需安裝pycocotools。

在windows下可能會出現(xiàn)以下錯誤:

?

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'的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。