kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.18k stars 5.32k forks source link

sh extras/check_dependencies.sh #4913

Closed chumingqian closed 5 months ago

chumingqian commented 5 months ago

Hello, author. During the installation of kaldi, when running the script: sh extras/check_dependencies.sh;

The following error is displayed. extras/check_dependencies.sh: 13: function: not found extras/check_dependencies.sh: 17: Syntax error: "}" unexpected;

My environment is: ubuntu 20.04. gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0. GNU Make 4.2.1 Built for x86_64-pc-linux-gnu

chumingqian commented 5 months ago

using bash and it worked