parlance / ctcdecode

PyTorch CTC Decoder bindings
MIT License
829 stars 245 forks source link

'x86_64-linux-gnu-gcc' failed with exit status 1 #161

Open songjd opened 4 years ago

songjd commented 4 years ago

Using Python 3.5.2 / ubuntu 16.04 / torch 0.4.0 / cudu 9.0

Tried: pip3 install .

Got error:

/tmp/pip-req-build-221rgb6t/third_party/openfst-1.6.7/src/include/fst/arc-map.h:881:8: note: ‘weight.fst::FloatWeightTpl<float>::value_’ was declared here
         AW weight;
            ^
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
songjd commented 4 years ago

I solved it .

torch 1.1.0

TowerYsable commented 2 years ago

I have also encountered this problem and would like to ask what is your thought process?