Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reporting when performing python3 setup.py install operation #35

Open
JennyWow111 opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@JennyWow111
Copy link

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
setup(
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/init.py", line 104, in setup
return distutils.core.setup(**attrs)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/install.py", line 87, in run
self.do_egg_install()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/install.py", line 139, in do_egg_install
self.run_command('bdist_egg')
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 167, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
self.run_command(cmdname)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py", line 110, in build
self.run_command('build_ext')
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/dist.py", line 967, in run_command
super().run_command(command)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 91, in run
_build_ext.run(self)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
build_ext.build_extensions(self)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
self._build_extensions_serial()
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
self.build_extension(ext)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 252, in build_extension
_build_ext.build_extension(self, ext)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
super(build_ext, self).build_extension(ext)
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
objects = self.compiler.compile(
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/anc/.conda/envs/pcm/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1909, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant