LearnableTreeFilterV2 icon indicating copy to clipboard operation
LearnableTreeFilterV2 copied to clipboard

运行python setup.py build develop 时,出现错误

Open Zhaoyiming1215 opened this issue 5 years ago • 2 comments

fatal error: 'THC/THC.h' file not found #include <THC/THC.h> ^~~~~~~~~~~ 27 warnings and 1 error generated. error: command 'gcc' failed with exit status 1

请问这可能是什么问题导致的呢?

Zhaoyiming1215 avatar Jan 12 '21 08:01 Zhaoyiming1215

Please provide more details. It seems to be the issues of environment variables of CUDA libraries. You can refer to this solution https://github.com/pytorch/fairseq/issues/6#issuecomment-332351111.

StevenGrove avatar Jan 13 '21 06:01 StevenGrove

It may be a problem with the pytorch version. Please refer to https://blog.csdn.net/qq_36891089/article/details/124353149.

fengenxiang1123 avatar Sep 13 '22 01:09 fengenxiang1123