Open dibalavs opened 1 month ago
By some reasons pip installed version 0.4.0. When I try install most modern version 0.6.0 I got an error:
pip install openwakeword==0.6.0 --break-system-packages
Defaulting to user installation because normal site-packages is not writeable
Collecting openwakeword==0.6.0
Using cached openwakeword-0.6.0-py3-none-any.whl.metadata (29 kB)
Requirement already satisfied: onnxruntime<2,>=1.10.0 in /home/vdybala/.local/lib/python3.12/site-packages (from openwakeword==0.6.0) (1.19.2)
Requirement already satisfied: tqdm<5.0,>=4.0 in /home/vdybala/.local/lib/python3.12/site-packages (from openwakeword==0.6.0) (4.66.5)
Requirement already satisfied: scipy<2,>=1.3 in /usr/lib/python3/dist-packages (from openwakeword==0.6.0) (1.11.4)
Requirement already satisfied: scikit-learn<2,>=1 in /home/vdybala/.local/lib/python3.12/site-packages (from openwakeword==0.6.0) (1.5.2)
Requirement already satisfied: requests<3,>=2.0 in /usr/lib/python3/dist-packages (from openwakeword==0.6.0) (2.31.0)
INFO: pip is looking at multiple versions of openwakeword to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement tflite-runtime<3,>=2.8.0; platform_system == "Linux" (from openwakeword) (from versions: none)
ERROR: No matching distribution found for tflite-runtime<3,>=2.8.0; platform_system == "Linux"
What version of Python are you using? It looks like tflite-runtime only has pre-built WHLs up to Python 3.11, otherwise you will get this error.
And you shouldn't need to specify the Execution provider, it will choose CPU automatically when appropriate.
Trying to install oww and launch basic example:
pip install openwakeword --break-system-packages
Example script:
And result is:
How to specify CPUExecutionProvider?