StevenGrove / LearnableTreeFilterV2

Apache License 2.0
91 stars 9 forks source link

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

Open Zhaoyiming1215 opened 3 years ago

Zhaoyiming1215 commented 3 years ago

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

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

StevenGrove commented 3 years ago

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.

fengenxiang1123 commented 2 years ago

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