OS:windows 7
Python:Python 3.7.3
Conda:conda 4.8.2
Step1: download soucre code of pococtools from github with linker fellowing: https://github.com/philferriere/cocoapi
Step2: build & install pococotall package by running
python setup.py build_ext --inplace,
python setup.py build_ext install
sequently.
ModuleNotFoundError:No modul named 'Cython'
Soluttion: pip install Cython
Error: command 'cl.exe' failed:No such file or directory
Solution: install Visual Studio 2019 and ensure install 'Desktop development with c++' enviroment.
After deal with all probelem,you can run the two instrustion to finish the installment.You can run
conda list
and then check pycocotools.
This worked for me:
pip install pycocotools-windows