HawkAaron / warp-transducer

A fast parallel implementation of RNN Transducer.
Apache License 2.0
307 stars 124 forks source link

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

Open Schwein3211 opened 2 years ago

Schwein3211 commented 2 years ago

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?

jaesong commented 2 years ago

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