I installed Rhasspy and I got the STT and NLU working, but I cannot get porcupine running properly. I tried working with other wake word modules but from what I have read, porcupine is supposed to be the best option.
For context, I am running Rhasspy on Ubuntu and I have porcupine installed in the same directory as Rhasspy.
Here is my log:
2021-11-06 22:02:33,957 INFO spawned: 'wake_word' with pid 18254 Traceback (most recent call last): File "/usr/lib/rhasspy/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/rhasspy/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/rhasspy/rhasspy-wake-porcupine-hermes/rhasspywake_porcupine_hermes/__main__.py", line 15, in <module> import pvporcupine File "/usr/lib/rhasspy/usr/local/lib/python3.7/site-packages/pvporcupine/__init__.py", line 12, in <module> from .porcupine import Porcupine File "/usr/lib/rhasspy/usr/local/lib/python3.7/site-packages/pvporcupine/porcupine.py", line 13, in <module> from ctypes import * File "/usr/lib/rhasspy/usr/local/lib/python3.7/ctypes/__init__.py", line 7, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.6: cannot open shared object file: No such file or directory 2021-11-06 22:02:34,956 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-11-06 22:02:34,956 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2021-11-06 22:02:34,999 INFO exited: wake_word (exit status 1; not expected)