alphacep / alphacep/vosk-api

Get a Error on Windows 10

Offen
#404 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.