I'm installing tensorflow object detection API on Windows 11, however I'm stuck on the installation of 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.
The command that is giving me errors is 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. Try to download and install Windows 11 SDK
from here . 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.
As you already have Visual Studio compiler, you will need to install only Developer Tools > Windows Headers and Libraries , which includes missing basetsd.h
. Thanks!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.