pip install torch-scatter
安装报错:
_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -O3 --expt-relaxed-constexpr -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_scatter_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 --use-local-env D:/anaconda3/envs/Hcave/lib/site-packages/torch/include\c10/macros/Macros.h(189): warning C4067: 预处理器指令后有 意外标记 - 应输入换行符 D:\anaconda3\envs\Hcave\lib\site-packages\torch\include\pybind11\detail/common.h(108): warning C4005: “HAVE_SNPRINTF”: 宏重定义 D:\anaconda3\envs\Hcave\include\pyerrors.h(315): note: 参见“HAVE_SNPRINTF”的前一个定义 scatter_cuda.cu nvcc error : 'cudafe++' died with status 0xC00000FD (STACK_OVERFLOW) error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.5\\bin\\nvcc.exe' failed with exit code 253 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed bu