TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 icon indicating copy to clipboard operation
TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 copied to clipboard

Pycocotools not installing on windows

Open thekillertoaster opened this issue 5 years ago • 5 comments
trafficstars

Following the tutorial down to every last detail, I start to encounter problems when the jupyter notebook tries to install pycocotools and fails spectacularly, is this something that other people have experienced?

thekillertoaster avatar Jan 21 '20 18:01 thekillertoaster

pip install git+https://github.com/philferriere/cocoapi.git#egg=pycocotools^&subdirectory=PythonAPI

Nyceane avatar Jan 25 '20 06:01 Nyceane

Following the tutorial down to every last detail, I start to encounter problems when the jupyter notebook tries to install pycocotools and fails spectacularly, is this something that other people have experienced?

Hai, I had faced the same issue, try installing pycocotools by the following command

pip3 install "git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI"

its working, please let me know if you face any errors while installing, I solved almost all the errors while installing pycocotools.

ajithganthala avatar Mar 02 '20 09:03 ajithganthala

I have tried using this method and it hangs indefinitely if I use quotes, and it throws this error if I don't use quotes:

ERROR: Could not find a version that satisfies the requirement pycocotools (unavailable) ERROR: No matching distribution found for pycocotools (unavailable) 'subdirectory' is not recognized as an internal or external command, operable program or batch file.

Any suggestions?

bder222 avatar Apr 12 '21 03:04 bder222

I have tried using this method and it hangs indefinitely if I use quotes, and it throws this error if I don't use quotes:

ERROR: Could not find a version that satisfies the requirement pycocotools (unavailable) ERROR: No matching distribution found for pycocotools (unavailable) 'subdirectory' is not recognized as an internal or external command, operable program or batch file.

Any suggestions?

I'm getting the same issue

DawsonMercer avatar Mar 06 '22 00:03 DawsonMercer

  ValueError: 'pycocotools/_mask.pyx' doesn't match any files
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed cleaning build dir for pycocotools Failed to build pycocotools ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

Harish-Tricon avatar Jul 20 '23 07:07 Harish-Tricon