MVIG-SJTU / AlphAction

Spatio-Temporal Action Localization System
407 stars 74 forks source link

Failed when setup. Is there any requirements for GCC #61

Open StevenqrYang opened 3 years ago

StevenqrYang commented 3 years ago

ERROR: Command errored out with exit status 1: command: /home/yangqr/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/yangqr/AlphAction/setup.py'"'"'; file='"'"'/home/yangqr/AlphAction/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps cwd: /home/yangqr/AlphAction/ Complete output (141 lines): running develop running egg_info writing alphaction.egg-info/PKG-INFO writing dependency_links to alphaction.egg-info/dependency_links.txt writing requirements to alphaction.egg-info/requires.txt writing top-level names to alphaction.egg-info/top_level.txt reading manifest file 'alphaction.egg-info/SOURCES.txt' writing manifest file 'alphaction.egg-info/SOURCES.txt' running build_ext building 'alphaction._custom_cuda_ext' extension Emitting ninja build file /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/5] c++ -MMD -MF /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/vision.o.d -pthread -B /home/yangqr/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/vision.cpp -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 FAILED: /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/vision.o c++ -MMD -MF /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/vision.o.d -pthread -B /home/yangqr/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/vision.cpp -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/vision.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /usr/include/c++/6/ext/string_conversions.h:41:0, from /usr/include/c++/6/bits/basic_string.h:5429, from /usr/include/c++/6/string:52, from /usr/include/c++/6/stdexcept:39, from /usr/include/c++/6/array:39, from /usr/include/c++/6/tuple:39, from /usr/include/c++/6/functional:55, from /usr/include/c++/6/memory:79, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:4, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8, from /home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/extension.h:4, from /home/yangqr/AlphAction/alphaction/csrc/cpu/vision.h:2, from /home/yangqr/AlphAction/alphaction/csrc/ROIAlign3d.h:3, from /home/yangqr/AlphAction/alphaction/csrc/vision.cpp:1: /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory

include_next

                         ^
compilation terminated.
[2/5] /usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.o
/usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SigmoidFocalLoss_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
In file included from /usr/local/cuda-10.2/include/crt/math_functions.h:8841:0,
                 from /usr/local/cuda-10.2/include/crt/common_functions.h:267,
                 from /usr/local/cuda-10.2/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
 #include_next <math.h>
                       ^
compilation terminated.
[3/5] /usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/ROIAlign3d_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIAlign3d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIAlign3d_cuda.o
/usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/ROIAlign3d_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIAlign3d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
In file included from /usr/local/cuda-10.2/include/crt/math_functions.h:8841:0,
                 from /usr/local/cuda-10.2/include/crt/common_functions.h:267,
                 from /usr/local/cuda-10.2/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
 #include_next <math.h>
                       ^
compilation terminated.
[4/5] /usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/ROIPool3d_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIPool3d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIPool3d_cuda.o
/usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/ROIPool3d_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/ROIPool3d_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
In file included from /usr/local/cuda-10.2/include/crt/math_functions.h:8841:0,
                 from /usr/local/cuda-10.2/include/crt/common_functions.h:267,
                 from /usr/local/cuda-10.2/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
 #include_next <math.h>
                       ^
compilation terminated.
[5/5] /usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/SoftmaxFocalLoss_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SoftmaxFocalLoss_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
FAILED: /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SoftmaxFocalLoss_cuda.o
/usr/local/cuda-10.2/bin/nvcc -DWITH_CUDA -I/home/yangqr/AlphAction/alphaction/csrc -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/TH -I/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/yangqr/anaconda3/include/python3.8 -c -c /home/yangqr/AlphAction/alphaction/csrc/cuda/SoftmaxFocalLoss_cuda.cu -o /home/yangqr/AlphAction/build/temp.linux-x86_64-3.8/home/yangqr/AlphAction/alphaction/csrc/cuda/SoftmaxFocalLoss_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -O3 -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_custom_cuda_ext -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
In file included from /usr/local/cuda-10.2/include/crt/math_functions.h:8841:0,
                 from /usr/local/cuda-10.2/include/crt/common_functions.h:267,
                 from /usr/local/cuda-10.2/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
 #include_next <math.h>
                       ^
compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1533, in _run_ninja_build
    subprocess.run(
  File "/home/yangqr/anaconda3/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ninja', '-v']' 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 1, in <module>
  File "/home/yangqr/AlphAction/setup.py", line 103, in <module>
    setup(
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/setuptools/__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/setuptools/command/develop.py", line 38, in run
    self.install_for_development()
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/setuptools/command/develop.py", line 140, in install_for_development
    self.run_command('build_ext')
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 87, in run
    _build_ext.run(self)
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
    _build_ext.build_ext.run(self)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions
    build_ext.build_extensions(self)
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
    _build_ext.build_ext.build_extensions(self)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
    self._build_extensions_serial()
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 208, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/yangqr/anaconda3/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
    objects = self.compiler.compile(sources,
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 491, in unix_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1250, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "/home/yangqr/anaconda3/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
----------------------------------------

ERROR: Command errored out with exit status 1: /home/yangqr/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/yangqr/AlphAction/setup.py'"'"'; file='"'"'/home/yangqr/AlphAction/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.