Skip to content

Commit ff90c8a

Browse files
author
lanmao
committed
Fix Vosk runtime dependencies
1 parent 150faf7 commit ff90c8a

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

pythonforandroid/recipes/vosk/__init__.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,25 @@ class VoskRecipe(PythonRecipe):
1111
url = "https://github.com/alphacep/vosk-api/archive/refs/tags/v{version}.tar.gz"
1212
site_packages_name = "vosk"
1313
depends = ["cffi"]
14-
python_depends = ["requests", "tqdm", "srt", "websockets"]
14+
python_depends = [
15+
"requests",
16+
"urllib3",
17+
"certifi",
18+
"charset-normalizer",
19+
"idna",
20+
"tqdm",
21+
"srt",
22+
"websockets",
23+
]
1524
hostpython_prerequisites = [
1625
"setuptools",
1726
"wheel",
1827
"cffi",
1928
"requests",
29+
"urllib3",
30+
"certifi",
31+
"charset-normalizer",
32+
"idna",
2033
"tqdm",
2134
"srt",
2235
"websockets",

0 commit comments

Comments
 (0)