Window10 安装cocoapi(tensorflow models zoo)

下载cocoapi-master解压到硬盘中。

进入到PythonAPI文件夹,输入python setup.py install 

1、 error: [WinError 3] 系统找不到指定的路径。: 'D:\\WorkSoft\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'

       参考:https://www.cnblogs.com/bigtreei/p/9914589.html

重新安装VS2015,由于没有安装完整。

2、无效的数值参数“/Wno-cpp”

pycocotools没有考虑window版本的安装,下载一个window版本的:https://github.com/philferriere/cocoapi

3、安装成功

完成cocoapi的安装。安装成功,可以看在python的三方lib中(路径通常在lib\site-packages)看到pycocotools(红色实线部分) 

猜你喜欢

转载自blog.csdn.net/qq_30460949/article/details/89181300
今日推荐