awni / transducer

A Fast Sequence Transducer Implementation with PyTorch Bindings
Apache License 2.0
195 stars 36 forks source link

Import Error, _transducer can not be imported. #9

Open xiongjun19 opened 2 years ago

xiongjun19 commented 2 years ago

follow the readme, I got the error about importing error, suggest that there may be a circle import.

finally I find a soulution I have to manually copy the _transducer.cpython-xxxx.so to run the torch_test, I'm wondering is there a more wisable solution ,

awni commented 2 years ago

The easiest fix is to move the test so it doesn't try to import the package in the local directory. I will work on a fix for this.