daanzu / kaldi-active-grammar

Python Kaldi speech recognition with grammars that can be set active/inactive dynamically at decode-time
GNU Affero General Public License v3.0
332 stars 49 forks source link

VC Redistributable missing after installing kaldi-active-grammar #29

Open ileben opened 3 years ago

ileben commented 3 years ago

After the installation of dragonfly2 and its kaldi backend (following the setup instructions), upon starting dragonfly using the kaldi engine, fstcompile process crashes with the following error: The code execution cannot proceed because VCRUNTIME140_1.dll was not found.

Need to find a way to install the VC redistributable automatically, or update the setup instructions.

Name: dragonfly2 Version: 0.24.0 Name: kaldi-active-grammar Version: 1.4.0

daanzu commented 3 years ago

Thanks for opening this. It should at least detect this case and give a meaningful error message and instructions.

daanzu commented 3 years ago

As of v1.6.1, the Windows wheels now only require the VS2017 (not VS2019) redistributables to be installed. I am adding a note to the troubleshooting section of the README. I am leaving this open, to hopefully investigate a run time check for it.