-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi, I followed the instruction to install cue, but pycocotools threw an error, please give me some suggestions about how to fix it, thanks.
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/songlizhi/software/cue/env/bin/python3.7 /home/songlizhi/software/cue/env/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp7jj20tsb
cwd: /tmp/pip-install-dx7jbz7q/pycocotools
Complete output (23 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-37
creating build/lib.linux-x86_64-cpython-37/pycocotools
copying pycocotools/init.py -> build/lib.linux-x86_64-cpython-37/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-cpython-37/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-cpython-37/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-cpython-37/pycocotools
running build_ext
Compiling pycocotools/_mask.pyx because it changed.
[1/1] Cythonizing pycocotools/_mask.pyx
building 'pycocotools._mask' extension
creating build/common
creating build/temp.linux-x86_64-cpython-37
creating build/temp.linux-x86_64-cpython-37/common
creating build/temp.linux-x86_64-cpython-37/pycocotools
gcc -pthread -B /home/songlizhi/software/miniforge-pypy3/envs/py37/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-build-env-stm9n5lm/overlay/lib/python3.7/site-packages/numpy/core/include -I./common -I/home/songlizhi/software/cue/env/include -I/home/songlizhi/software/miniforge-pypy3/envs/py37/include/python3.7m -c ../common/maskApi.c -o build/temp.linux-x86_64-cpython-37/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
gcc: error: ../common/maskApi.c: No such file or directory
/tmp/pip-build-env-stm9n5lm/overlay/lib/python3.7/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-dx7jbz7q/pycocotools/pycocotools/_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
error: command '/usr/bin/gcc' failed with exit code 1ERROR: Failed building wheel for pycocotools
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
Metadata
Metadata
Assignees
Labels
No labels