-
Notifications
You must be signed in to change notification settings - Fork 1
Description
in ubuntu18.04
Collecting pycocotools
Using cached pycocotools-2.0.0.tar.gz (1.5 MB)
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/bionicdl-saber/anaconda3/envs/tf1.15/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-olbprx4y/pycocotools/setup.py'"'"'; file='"'"'/tmp/pip-install-olbprx4y/pycocotools/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 /tmp/pip-wheel-h0snkeng
cwd: /tmp/pip-install-olbprx4y/pycocotools/
Complete output (18 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/init.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-3.7/pycocotools
running build_ext
building 'pycocotools._mask' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/pycocotools
creating build/temp.linux-x86_64-3.7/common
gcc -pthread -B /home/bionicdl-saber/anaconda3/envs/tf1.15/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/bionicdl-saber/anaconda3/envs/tf1.15/lib/python3.7/site-packages/numpy/core/include -Icommon -I/home/bionicdl-saber/anaconda3/envs/tf1.15/include/python3.7m -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.7/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
ERROR: Failed building wheel for pycocotools
Running setup.py clean 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: /home/bionicdl-saber/anaconda3/envs/tf1.15/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-olbprx4y/pycocotools/setup.py'"'"'; file='"'"'/tmp/pip-install-olbprx4y/pycocotools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-li9w7zy5/install-record.txt --single-version-externally-managed --compile --install-headers /home/bionicdl-saber/anaconda3/envs/tf1.15/include/python3.7m/pycocotools
cwd: /tmp/pip-install-olbprx4y/pycocotools/
Complete output (18 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/init.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-3.7/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-3.7/pycocotools
running build_ext
building 'pycocotools._mask' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/pycocotools
creating build/temp.linux-x86_64-3.7/common
gcc -pthread -B /home/bionicdl-saber/anaconda3/envs/tf1.15/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/bionicdl-saber/anaconda3/envs/tf1.15/lib/python3.7/site-packages/numpy/core/include -Icommon -I/home/bionicdl-saber/anaconda3/envs/tf1.15/include/python3.7m -c pycocotools/_mask.c -o build/temp.linux-x86_64-3.7/pycocotools/_mask.o -Wno-cpp -Wno-unused-function -std=c99
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/bionicdl-saber/anaconda3/envs/tf1.15/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-olbprx4y/pycocotools/setup.py'"'"'; file='"'"'/tmp/pip-install-olbprx4y/pycocotools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-li9w7zy5/install-record.txt --single-version-externally-managed --compile --install-headers /home/bionicdl-saber/anaconda3/envs/tf1.15/include/python3.7m/pycocotools Check the logs for full command output.