You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I install requirements.txt meets trouble like this:
Building wheels for collected packages: pycocotools
Building wheel for pycocotools (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pycocotools (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-cpython-39/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-cpython-39/pycocotools
copying pycocotools/__init__.py -> build/lib.linux-x86_64-cpython-39/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-cpython-39/pycocotools
running build_ext
/tmp/pip-build-env-cycyvo14/overlay/lib/python3.9/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-q26n5rk2/pycocotools_3e33d8e0c2824f10852f47c28f4a43de/pycocotools/_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
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-39
creating build/temp.linux-x86_64-cpython-39/common
creating build/temp.linux-x86_64-cpython-39/pycocotools
gcc -pthread -B /home/yangls/anaconda3/envs/creamfl/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/yangls/anaconda3/envs/creamfl/include -I/home/yangls/anaconda3/envs/creamfl/include -fPIC -O2 -isystem /home/yangls/anaconda3/envs/creamfl/include -fPIC -I/tmp/pip-build-env-cycyvo14/overlay/lib/python3.9/site-packages/numpy/core/include -I./common -I/home/yangls/anaconda3/envs/creamfl/include/python3.9 -c ../common/maskApi.c -o build/temp.linux-x86_64-cpython-39/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
cc1: fatal error: ../common/maskApi.c: No such file or directory
compilation terminated.
error: command'/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycocotools
Failed to build pycocotools
ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects
And I tried any methods from github, but It didn't work, could you help me? Here is my environment
python3.9
I install requirements.txt meets trouble like this:
And I tried any methods from github, but It didn't work, could you help me? Here is my environment
python3.9
The text was updated successfully, but these errors were encountered: