Closed ChauncyFr closed 5 years ago
When I compile the extension module, I reported the following error:
running build_ext building 'im2mesh.utils.libkdtree.pykdtree.kdtree' extension gcc -pthread -B /home/fxru/anaconda3/envs/mesh_funcspace/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/fxru/anaconda3/envs/mesh_funcspace/include/python3.6m -c im2mesh/utils/libkdtree/pykdtree/kdtree.c -o build/temp.linux-x86_64-3.6/im2mesh/utils/libkdtree/pykdtree/kdtree.o -std=c99 -O3 -fopenmp -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=kdtree -D_GLIBCXX_USE_CXX11_ABI=0 im2mesh/utils/libkdtree/pykdtree/kdtree.c:525:31: fatal error: numpy/arrayobject.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1
This problem has been solved, the method is here
i have read the solution u have used,but it didn't work at all,it continued to have the problem ,can u show me your whole document for setup.py?
When I compile the extension module, I reported the following error: