Giter Site home page Giter Site logo

mycroftai / plugin-wake-word-precise-lite Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 60 KB

Use Mycroft Precise as a wake-word plugin

License: Apache License 2.0

Python 86.96% Makefile 1.30% Shell 11.75%
hacktoberfest precise mycroft-plugin wake-word hot-word voice

plugin-wake-word-precise-lite's Issues

Cannot install via mycroft-pip: archive format error

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

Mark-1: GLIBCXX_3.4.21 not found

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:

  1. clone repository and cdinto it
  2. create/increase swap to 1GB (for scipy build)
  3. sudo mycroft-pip install .
  4. configure "hotword" in mycroft.conf
  5. reboot/restart Mycroft and look into voice.log

Environment (please complete the following information):

  • Device type: Mark 1
  • OS: Raspbian/Debian Jessie
  • Mycroft-core version: 21.2.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.