(MaskRCNN) C:\Users\PC\Mark\Mask\cocoapi>pip install git+https://g...content-available-to-author-only...b.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Collecting git+https://g...content-available-to-author-only...b.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Cloning https://g...content-available-to-author-only...b.com/philferriere/cocoapi.git to c:\users\pc\appdata\local\temp\pip-req-build-kfkvdgi9
Running command git clone -q https://g...content-available-to-author-only...b.com/philferriere/cocoapi.git 'C:\Users\PC\AppData\Local\Temp\pip-req-build-kfkvdgi9'
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\PC\anaconda3\envs\MaskRCNN\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"'; __file__='"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\PC\AppData\Local\Temp\pip-wheel-5r18s0dm'
cwd: C:\Users\PC\AppData\Local\Temp\pip-req-build-kfkvdgi9\PythonAPI
Complete output (13 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\pycocotools
copying pycocotools\coco.py -> build\lib.win-amd64-3.6\pycocotools
copying pycocotools\cocoeval.py -> build\lib.win-amd64-3.6\pycocotools
copying pycocotools\mask.py -> build\lib.win-amd64-3.6\pycocotools
copying pycocotools\__init__.py -> build\lib.win-amd64-3.6\pycocotools
running build_ext
building 'pycocotools._mask' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Failed building wheel for pycocotools
Running setup.py clean for pycocotools
ERROR: Command errored out with exit status 1:
command: 'C:\Users\PC\anaconda3\envs\MaskRCNN\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"'; __file__='"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: C:\Users\PC\AppData\Local\Temp\pip-req-build-kfkvdgi9
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\PC\AppData\Local\Temp\pip-req-build-kfkvdgi9\PythonAPI\setup.py", line 25, in <module>
cythonize(ext_modules)
File "C:\Users\PC\anaconda3\envs\MaskRCNN\lib\site-packages\Cython\Build\Dependencies.py", line 972, in cythonize
aliases=aliases)
File "C:\Users\PC\anaconda3\envs\MaskRCNN\lib\site-packages\Cython\Build\Dependencies.py", line 815, in create_extension_list
for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern):
File "C:\Users\PC\anaconda3\envs\MaskRCNN\lib\site-packages\Cython\Build\Dependencies.py", line 114, in nonempty
raise ValueError(error_msg)
ValueError: 'pycocotools/_mask.pyx' doesn't match any files
----------------------------------------
ERROR: Failed cleaning build dir for pycocotools
Failed to build pycocotools
Installing collected packages: pycocotools
Running setup.py install for pycocotools ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\PC\anaconda3\envs\MaskRCNN\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"'; __file__='"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\PC\AppData\Local\Temp\pip-record-c9hh99uk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\PC\anaconda3\envs\MaskRCNN\Include\pycocotools'
cwd: C:\Users\PC\AppData\Local\Temp\pip-req-build-kfkvdgi9\PythonAPI
Complete output (6 lines):
running install
running build
running build_py
running build_ext
building 'pycocotools._mask' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\PC\anaconda3\envs\MaskRCNN\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"'; __file__='"'"'C:\\Users\\PC\\AppData\\Local\\Temp\\pip-req-build-kfkvdgi9\\PythonAPI\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\PC\AppData\Local\Temp\pip-record-c9hh99uk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\PC\anaconda3\envs\MaskRCNN\Include\pycocotools' Check the logs for full command output.