mycroftai / plugin-wake-word-precise-lite Goto Github PK
View Code? Open in Web Editor NEWUse Mycroft Precise as a wake-word plugin
License: Apache License 2.0
Use Mycroft Precise as a wake-word plugin
License: Apache License 2.0
Done within mycroft virtual environment:
mycroft-pip install https://github.com/MycroftAI/plugin-wake-word-precise-lite
Collecting https://github.com/MycroftAI/plugin-wake-word-precise-lite
Downloading https://github.com/MycroftAI/plugin-wake-word-precise-lite
/ 209.2 kB 876.1 kB/s 0:00:00
ERROR: Cannot unpack file /tmp/pip-unpack-4itiiq_g/plugin-wake-word-precise-lite (downloaded from /tmp/pip-req-build-3sf6d25v, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-3sf6d25v
Describe the bug
Fails on Mark-I (mycroft-core 21.2.1) with
2021-10-25 14:16:29.974 | ERROR | 905 | mycroft.client.speech.hotword_factory:initialize:529 | Could not create hotword. Falling back to default.
Traceback (most recent call last):
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/client/speech/hotword_factory.py", line 510, in initialize
clazz = load_wake_word_plugin(module)
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/client/speech/hotword_factory.py", line 482, in load_wake_word_plugin
return load_plugin('mycroft.plugin.wake_word', module_name)
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/util/plugins.py", line 48, in load_plugin
plugins = find_plugins(plug_type)
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/util/plugins.py", line 34, in find_plugins
in pkg_resources.iter_entry_points(plug_type)
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/mycroft/util/plugins.py", line 33, in <dictcomp>
for entry_point
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2411, in load
return self.resolve()
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/hotword_precise_lite/__init__.py", line 15, in <module>
from .mycroft_hotword import TFLiteHotWord
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/hotword_precise_lite/mycroft_hotword.py", line 6, in <module>
from .network_runner import ReadWriteStream, Listener, Engine
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/hotword_precise_lite/network_runner.py", line 16, in <module>
import tflite_runtime.interpreter as tflite
File "/opt/venvs/mycroft-core/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 41, in <module>
from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /opt/venvs/mycroft-core/lib/python3.7/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.cpython-37m-arm-linux-gnueabihf.so)
To Reproduce
Steps to reproduce the behavior:
cd
into itsudo mycroft-pip install .
mycroft.conf
Environment (please complete the following information):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.