Open CyanHillFox opened 6 years ago
You don't have to modify the setup script, just export the variable in the shell: export KALDI_ROOT=...
or KALDI_ROOT=... python setup.py install
.
Have you compiled your kaldi as shared? Do you have boost-python installed?
@dmitriy-serdyuk Thank you so much for your reply. The problem was solved by using an older version of Kaldi(committed on 9/9/2017), and now Kaldi-Python compiles. It seems that the recent Kaldi update broke the compatibility.
#
@dmitriy-serdyuk Thank you so much for your reply. The problem was solved by using an older version of Kaldi(committed on 9/9/2017), and now Kaldi-Python compiles. It seems that the recent Kaldi update broke the compatibility.
excuse me,how to install an older version of Kaldi?
@ermu-tech
Thank you so much for your reply. The problem was solved by using an older version of Kaldi(committed on 9/9/2017), and now Kaldi-Python compiles. It seems that the recent Kaldi update broke the compatibility.
excuse me,how to install an older version of Kaldi?
You can find an old commit in the commit history for Kaldi, and checkout that particular commit by
git checkout hash
, where hash
corresponds to the hash for that commit.
Hi. I'm trying to install kal-python, and I received some compiling error(see below) when installing. What I did is to change the 7th line of your setup.py to:
os.system("KALDI_ROOT=~/Downloads/repository/kaldi make")
where the KALDI_ROOT points to my downloaded kaldi repository(the most recent kaldi version). And the version of GCC I'm using is 5.4(on Ubuntu 16.04). Thanks, sincerely.the error list to too long to paste here, so I select some, they are like:
and