繁体   English   中英

在 Windows 11 上安装 tensorflow 对象检测 API,卡在安装 pycocotools

[英]Installing tensorflow object detection API on Windows 11, stuck on installation of pycocotools

我正在 Windows 11 上安装 tensorflow 对象检测 API,但是我一直在安装 pycocotools。

错误消息的屏幕截图我正在关注https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-installation上的教程,但是我不断收到错误消息。

给我错误的命令是 pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

请检查链接它有错误的截图

似乎缺少basetsd.h文件。 尝试从此处下载并安装Windows 11 SDK 如果您已经安装了它,请检查是否将 windows SDK 和 Microsoft Visual C++ 添加到系统 PATH,如果没有将它们添加到系统 PATH 将有所帮助。

由于您已经拥有 Visual Studio 编译器,因此您只需要安装Developer Tools > Windows Headers and Libraries ,其中包括缺少basetsd.h 谢谢!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM