Open lukifer opened 3 years ago
This is caused by the new C module dtw
which is part of rhasspywake_raven.
This module is compiled and installed next to the Python files. However when running bin/rhasspy-wake-raven
it appears Python is not importing the installed files, but directly imports the files in the rhasspywake_raven
directory. Since this directory does not provide the compiled version of the dtw module it fails to run.
@synesthesiam do you know a way to tell Python to use the installed module even when there is a directory with the same name in the current working directory?
One way that seems to work for me has been added to the create-venv.sh
script (after installing requirements):
python3 setup.py build_ext --inplace
Yes, I guess this should work around the problem.
Trying to install on Rpi 4 (latest Raspian/RpiOS), everything seems successful, but getting the following error when running
bin/rhasspy-wake-raven
:pip install dtw
definitely works, tried on both arm64 and armv7l OS's. Any ideas?