Closed gregorydlogan closed 2 years ago
How did you install vosk-cli
?
pip install vosk
then pip install $deps
, then pip install .
in the clone.
I'm not quite sure what pip install .
does. But scripts
is the (arguably not that great) name for the vosk-cli
package, which it seems like is not properly installed. I would expect the installation process to be:
❯ pip install vosk webvtt-py setuptools
❯ python setup.py install
(and usually, I would run that in a virtual environment)
pip install .
is the first step in the readme :D
I skipped the venv because I wanted this set up for my normal user, but I can try and repro on Monday with a venv on another machine.
Interestingly, when I run the command from the logfile in a different window I get a correctly transcribed vtt file - no errors, no nothing. Since this works as expected when run by itself, I'm going to guess this is some kind of Opencast issue.
In testing https://github.com/opencast/opencast/pull/3806, I installed vosk-cli per the current README. Functional testing with an Opencast workflow spat out this error:
Installing
scripts
withpip install scripts
does not resolve the issue.