[英]Installing tensorflow object detection API on Windows 11, stuck on installation of pycocotools
I'm installing tensorflow object detection API on Windows 11, however I'm stuck on the installation of pycocotools.我正在 Windows 11 上安装 tensorflow 对象检测 API,但是我一直在安装 pycocotools。
Screenshot of error message I'm following the tutorial on https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-installation however I keep getting errors.错误消息的屏幕截图我正在关注https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/install.html#tensorflow-installation上的教程,但是我不断收到错误消息。
The command that is giving me errors is pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI给我错误的命令是 pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Please check the link it has a screenshot of the errors请检查链接它有错误的截图
It seems like the basetsd.h
file is missing.似乎缺少
basetsd.h
文件。 Try to download and install Windows 11 SDK
from here .尝试从此处下载并安装
Windows 11 SDK
。 If you have it installed already, check if windows SDK and the Microsoft Visual C++ are added to system PATH, if not adding them to system PATH will help.如果您已经安装了它,请检查是否将 windows SDK 和 Microsoft Visual C++ 添加到系统 PATH,如果没有将它们添加到系统 PATH 将有所帮助。
As you already have Visual Studio compiler, you will need to install only Developer Tools > Windows Headers and Libraries , which includes missing basetsd.h
.由于您已经拥有 Visual Studio 编译器,因此您只需要安装Developer Tools > Windows Headers and Libraries ,其中包括缺少
basetsd.h
。 Thanks!谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.