Open gray0302 opened 7 years ago
Check that you compiled a shared library for kaldi. Try to add it to your LD_LIBRARY_PATH
.
ImportError Traceback (most recent call last)
I can suggest to rebuild kaldi, maybe issue is there. Check if there were errors during the setup of kaldi-python (run it in verbose mode).
I encountered the same problem. I rebuilt the kaldi with configure --share
. And I also add the kaldi_io_internal.so to python3.5/site-packages/
.
import kaldi_io Traceback (most recent call last): File "", line 1, in
File "kaldi_io/init.py", line 243, in
from kaldi_io_internal import *
ImportError: kaldi_io/kaldi_io_internal.so: undefined symbol: _ZN5kaldi9SemaphoreD1Ev
when I import kaldi_io, I encountered the problem. Could you help me solve it, thank you very much.