Error reporting when performing python3 setup.py install operation
python setup.py install running install /home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!! self.initialize_options() /home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!! self.initialize_options() running bdist_egg running egg_info writing pointops.egg-info/PKG-INFO writing dependency_links to pointops.egg-info/dependency_links.txt writing top-level names to pointops.egg-info/top_level.txt reading manifest file 'pointops.egg-info/SOURCES.txt' writing manifest file 'pointops.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext building 'pointops_cuda' extension Emitting ninja build file /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/ballquery/ballquery_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/ballquery/ballquery_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/ballquery/ballquery_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/ballquery/ballquery_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/ballquery/ballquery_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/ballquery/ballquery_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/ballquery/ballquery_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/ballquery/ballquery_cuda.cpp:3:10: fatal error: THC/THC.h: 没有那个文件或目录 3 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [2/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery_heap/knnquery_heap_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery_heap/knnquery_heap_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery_heap/knnquery_heap_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery_heap/knnquery_heap_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery_heap/knnquery_heap_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery_heap/knnquery_heap_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery_heap/knnquery_heap_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery_heap/knnquery_heap_cuda.cpp:3:10: fatal error: THC/THC.h: 没有那个文件或目录 3 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [3/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping_int/grouping_int_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping_int/grouping_int_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping_int/grouping_int_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping_int/grouping_int_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping_int/grouping_int_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping_int/grouping_int_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping_int/grouping_int_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping_int/grouping_int_cuda.cpp:4:10: fatal error: THC/THC.h: 没有那个文件或目录 4 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [4/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/interpolation/interpolation_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/interpolation/interpolation_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/interpolation/interpolation_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/interpolation/interpolation_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/interpolation/interpolation_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/interpolation/interpolation_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/interpolation/interpolation_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/interpolation/interpolation_cuda.cpp:4:10: fatal error: THC/THC.h: 没有那个文件或目录 4 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [5/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/sampling/sampling_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/sampling/sampling_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/sampling/sampling_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/sampling/sampling_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/sampling/sampling_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/sampling/sampling_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/sampling/sampling_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/sampling/sampling_cuda.cpp:4:10: fatal error: THC/THC.h: 没有那个文件或目录 4 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [6/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery/knnquery_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery/knnquery_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery/knnquery_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery/knnquery_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery/knnquery_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery/knnquery_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/knnquery/knnquery_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/knnquery/knnquery_cuda.cpp:3:10: fatal error: THC/THC.h: 没有那个文件或目录 3 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. [7/7] c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping/grouping_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping/grouping_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping/grouping_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 FAILED: /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping/grouping_cuda.o c++ -MMD -MF '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping/grouping_cuda.o'.d -pthread -B /home/anc/.conda/envs/pcm/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -O2 -isystem /home/anc/.conda/envs/pcm/include -fPIC -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/TH -I/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-11.7/include -I/home/anc/.conda/envs/pcm/include/python3.10 -c -c '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping/grouping_cuda.cpp' -o '/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/build/temp.linux-x86_64-cpython-310/src/grouping/grouping_cuda.o' -g -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=pointops_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++17 /media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/src/grouping/grouping_cuda.cpp:4:10: fatal error: THC/THC.h: 没有那个文件或目录 4 | #include <THC/THC.h> | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "/home/anc/.conda/envs/pcm/lib/python3.10/subprocess.py", line 526, 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 "/media/anc/新加卷/xunziyou/Code_xun_1/RepSurf/classification/modules/pointops/setup.py", line 13, in