When I download the package deform-conv==0.0.0 with docker container (PYTORCH_VERSION=2.2.0; CUDA_VERSION=12.1; CUDNN_VERSION=8)
However, there is always wrong with setup.py:
Summary
yaoyun.zhang@e2c6fda9c15c:~/work/DiffFoley/Diff-Foley/deform_conv-0.0.0$ python3 -m pip install /hpc_stor03/sjtu_home/yaoyun.zhang/work/DiffFoley/Diff-Foley/deform_conv-0.0.0.tar.gz
Defaulting to user installation because normal site-packages is not writeable
Processing /hpc_stor03/sjtu_home/yaoyun.zhang/work/DiffFoley/Diff-Foley/deform_conv-0.0.0.tar.gz
Preparing metadata (setup.py) … error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [215 lines of output]
/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-req-build-q293aq_i/vis_human/sim3drender/lib/rasterize.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling vis_human/sim3drender/lib/rasterize.pyx because it depends on /hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/Cython/Includes/libcpp/init.pxd.
[1/1] Cythonizing vis_human/sim3drender/lib/rasterize.pyx
/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [168 lines of output]
Partial import of lap during the build process.
/tmp/pip-wheel-hdqrn2xo/lap_587f34df50c243fe922cc99dec532428/setup.py:223: DeprecationWarning:
`numpy.distutils` is deprecated since NumPy 1.23.0, as a result
of the deprecation of `distutils` itself. It will be removed for
Python >= 3.12. For older Python versions it will remain present.
It is recommended to use `setuptools < 60.0` for those Python versions.
For more details, see:
https://numpy.org/devdocs/reference/distutils_status_migration.html
from numpy.distutils.core import setup
Generating cython files
running bdist_wheel
running build
running config_cc
running config_fc
running build_src
/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/lap
copying lap/__init__.py -> build/lib.linux-x86_64-3.10/lap
copying lap/lapmod.py -> build/lib.linux-x86_64-3.10/lap
running build_ext
creating /tmp/tmpi32ow8ul/opt
creating /tmp/tmpi32ow8ul/opt/conda
creating /tmp/tmpi32ow8ul/opt/conda/lib
creating /tmp/tmpi32ow8ul/opt/conda/lib/python3.10
creating /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages
creating /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy
creating /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils
creating /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -march=native) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -O3) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -Werror) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -msse) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -msse2) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse2.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse2.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse2.o.d) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.feature_test[1576] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse.o.d) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.feature_test[1576] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -msse3) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse3.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse3.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_sse3.o.d) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.feature_test[1576] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mssse3) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -msse4.1) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mpopcnt) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -msse4.2) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mf16c) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mfma) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx2) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512f -mno-mmx) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512cd) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512vl -mavx512bw -mavx512dq) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512vnni) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_clx.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_clx.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_clx.o.d) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.feature_test[1576] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512ifma -mavx512vbmi) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/test_flags.o.d -mavx512vbmi2 -mavx512bitalg -mavx512vpopcntdq) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.cc_test_flags[1090] : testing failed
WARN: CCompilerOpt.dist_test[637] : CCompilerOpt._dist_test_spawn[771] : Command (gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -I/opt/conda/include/python3.10 -c /opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_icl.c -o /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_icl.o -MMD -MF /tmp/tmpi32ow8ul/opt/conda/lib/python3.10/site-packages/numpy/distutils/checks/cpu_avx512_icl.o.d) failed with exit status 127 output ->
[Errno 2] No such file or directory: 'gcc'
WARN: CCompilerOpt.feature_test[1576] : testing failed
WARN: CCompilerOpt.generate_dispatch_header[2375] : dispatch header dir build/src.linux-x86_64-3.10/numpy/distutils/include does not exist, creating it
creating build/temp.linux-x86_64-3.10/lap
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-wheel-hdqrn2xo/lap_587f34df50c243fe922cc99dec532428/setup.py", line 236, in <module>
setup_package()
File "/tmp/pip-wheel-hdqrn2xo/lap_587f34df50c243fe922cc99dec532428/setup.py", line 232, in setup_package
setup(**metadata)
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/core.py", line 170, in setup
return old_setup(**new_attr)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 364, in run
self.run_command("build")
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/command/build.py", line 62, in run
old_build.run(self)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/command/build_ext.py", line 332, in run
self.build_extensions()
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/command/build_ext.py", line 525, in build_extension
c_objects += cxx_compiler.compile(
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/ccompiler.py", line 91, in <lambda>
m = lambda self, *args, **kw: func(self, *args, **kw)
File "/opt/conda/lib/python3.10/site-packages/numpy/distutils/ccompiler.py", line 364, in CCompiler_compile
res = pool.map(single_compile, build_items)
File "/opt/conda/lib/python3.10/concurrent/futures/_base.py", line 610, in map
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/opt/conda/lib/python3.10/concurrent/futures/_base.py", line 610, in <listcomp>
fs = [self.submit(fn, *args) for args in zip(*iterables)]
File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 176, in submit
self._adjust_thread_count()
File "/opt/conda/lib/python3.10/concurrent/futures/thread.py", line 199, in _adjust_thread_count
t.start()
File "/opt/conda/lib/python3.10/threading.py", line 935, in start
_start_new_thread(self._bootstrap, ())
RuntimeError: can't start new thread
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lap
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
subprocess.check_call(cmd)
File "/opt/conda/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/conda/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpqx40p3v7', '--quiet', 'lap']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-q293aq_i/setup.py", line 17, in <module>
setuptools.setup(
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/dist.py", line 812, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 771, in resolve
dist = best[req.key] = env.best_match(
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1056, in best_match
return self.obtain(req, installer)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1068, in obtain
return installer(requirement)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/dist.py", line 883, in fetch_build_egg
return fetch_build_egg(self, req)
File "/hpc_stor03/sjtu_home/yaoyun.zhang/.local/lib/python3.10/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/opt/conda/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpqx40p3v7', '--quiet', 'lap']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
and I tried “python -m build -- installer pip
” , python3 -m pip install /hpc_stor03/sjtu_home/yaoyun.zhang/work/DiffFoley/Diff-Foley/deform_conv-0.0.0.tar.gz
the same error as above goes again
and I also tried to upgrade the pip or setuptools, but they didn’t work.
I really don’t know how to solve, can you guys do me a favor?