alphacep / alphacep/vosk-api

Get a Error on Windows 10

Open
#404 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

CPU:Core i5-4590 @3.30GHz
RAM: 8 GB
Windows:Windows 10 professional 19041.746
Python:3.7.9
vosk-api:vosk-0.3.21-py3-none-win_amd64.whl

I have install vosk-api with pip3

> Processing f:\work\python\vosk-0.3.21-py3-none-win_amd64.whl
Requirement already satisfied: cffi>=1.0 in c:\users\szpeter\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from vosk==0.3.21) (1.14.4)
Requirement already satisfied: pycparser in c:\users\szpeter\appdata\local\packages\pythonsoftwarefoundation.python.3.7_qbz5n2kfra8p0\localcache\local-packages\python37\site-packages (from cffi>=1.0->vosk==0.3.21) (2.20)
Installing collected packages: vosk
Successfully installed vosk-0.3.21
WARNING: You are using pip version 20.1.1; however, version 21.0.1 is available.
You should consider upgrading via the 'C:\Users\szpeter\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.

When I star vosk server,it get this error

> Traceback (most recent call last):
File ".\asr_server.py", line 11, in
from vosk import Model, KaldiRecognizer
File "C:\Users\szpeter\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\vosk\__init__.py", line 21, in
_c = open_dll()
File "C:\Users\szpeter\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\vosk\__init__.py", line 13, in open_dll
return _ffi.dlopen("libvosk.dll")
OSError: cannot load library 'libvosk.dll': error 0x7e

How can I fix this problem?
Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.