warp-transducer icon indicating copy to clipboard operation
warp-transducer copied to clipboard

"python setup.py install" error: command '/usr/bin/gcc' failed with exit code 1

Open Schwein3211 opened this issue 2 years ago • 1 comments

when i run the "python setup.py install", i comes the Error as follows:

src/binding.cpp:8:14: fatal error:THC.h”: No such file or directory #include "THC.h" ^~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1

what can i do?

Schwein3211 avatar Aug 29 '22 08:08 Schwein3211

THC has been removed from PyTorch 1.11. See https://github.com/b-flo/warp-transducer/pull/2 for the patch.

jaesong avatar Aug 29 '22 09:08 jaesong