[英]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.