kaldi-python icon indicating copy to clipboard operation
kaldi-python copied to clipboard

ImportError: No module named kaldi_io_internal

Open gxstudy opened this issue 7 years ago • 2 comments

Hi, @dmitriy-serdyuk ,

"import kaldi_io" gives me the following error:

Traceback (most recent call last): File "", line 1, in File "kaldi_io/init.py", line 243, in from kaldi_io_internal import * ImportError: No module named kaldi_io_internal

Could you please help me solve it. Thank you so much.

Best, Cindy

gxstudy avatar Apr 13 '17 21:04 gxstudy

Try to check if there is kaldi_io_internal.so near kaldi_io. It should print in the traceback where is your kaldi_io installed.

It may be a problem with installation, make sure that you have kaldi compiled with --shared and KALDI_ROOT points to your kaldi.

dmitriy-serdyuk avatar Apr 13 '17 22:04 dmitriy-serdyuk

Try to check if there is kaldi_io_internal.so near kaldi_io. It should print in the traceback where is your kaldi_io installed.

It may be a problem with installation, make sure that you have kaldi compiled with --shared and KALDI_ROOT points to your kaldi.

excuse me ,where can I point KALDI_ROOT to my kaldi?

ermu-tech avatar Sep 30 '21 12:09 ermu-tech