-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openwakeword installation failing on RPi Zero 2 64bit with Respeaker 2 Mic hat #157
Comments
Same here! My first install 3 days ago went fine. Today I got the same error as mentioned above. |
same probleme here. |
me as well |
i have the same problem with a zero 2 w 64bit lite |
In openwakeword requirements.txt I changed... tflite-runtime-nightly to tflite-runtime *deleting -nightly part |
Thanks @kdutton1964 , this worked for me. To others who blindly copied the lines like me, including 'deleting -nightly' 😂, the lines in the file should be:
|
Deleting the "-nightly" from the tflite release name also worked for me.
Sent from Mailspring ***@***.***/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=cmVwbHkrQUVFTjJZV1lTSFc1QldTM0YzNFZKNE9FR0tNTUJFVkJOSEhJTVNLS1BZQHJlcGx5LmdpdGh1Yi5jb20%3D), the best free email app for work
…On Apr 22 2024, at 2:17 pm, don86nl ***@***.***> wrote:
> In openwakeword requirements.txt I changed... tflite-runtime-nightly wyoming==1.5.3
> to
> tflite-runtime wyoming==1.5.3 deleting -nightly
> This worked for me, I also performed a successful install few days ago. Went back to do fresh install and it failed.
Thanks @kdutton1964 ***@***.***/1?redirect=https%3A%2F%2Fgithub.com%2Fkdutton1964&recipient=cmVwbHkrQUVFTjJZV1lTSFc1QldTM0YzNFZKNE9FR0tNTUJFVkJOSEhJTVNLS1BZQHJlcGx5LmdpdGh1Yi5jb20%3D) , this worked for me. To others who blindly copied the lines like me, including 'deleting -nightly' 😂, the lines in the file should be:
tflite-runtime
wyoming==1.5.3
—
Reply to this email directly, view it on GitHub ***@***.***/2?redirect=https%3A%2F%2Fgithub.com%2Frhasspy%2Fwyoming-satellite%2Fissues%2F157%23issuecomment-2070722266&recipient=cmVwbHkrQUVFTjJZV1lTSFc1QldTM0YzNFZKNE9FR0tNTUJFVkJOSEhJTVNLS1BZQHJlcGx5LmdpdGh1Yi5jb20%3D), or unsubscribe ***@***.***/3?redirect=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEEN2YRFYYC3FHTY4NHD5YLY6VO4BAVCNFSM6AAAAABGPE5DCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQG4ZDEMRWGY&recipient=cmVwbHkrQUVFTjJZV1lTSFc1QldTM0YzNFZKNE9FR0tNTUJFVkJOSEhJTVNLS1BZQHJlcGx5LmdpdGh1Yi5jb20%3D).
You are receiving this because you authored the thread.
|
Had the same issue, opened a PR in wyoming-openwakword project to hopefully have above resolved going forward. |
Hello, I did the modification, but i still got the error :
|
It seems that this is caused by tflite-runtime dropping support for Bullseye, as the package requires a newer glibc version. |
I am experiencing the same error. I couldn't get the open wakeword service to function properly after the adjustment proposed earlier. |
I have same issue. After deleting -nightly part I ran script and it installs but when I prompt EDIT: |
I've found that the non-nightly version seems to occasionally crash. |
Can you explain a bit more in detail how you installed the repseaker driver for the 6.6 branch? I'm having the same problem, but don't quite understand. Thanks. |
Well first you need to have a Pi OS version (latest non-legacy) that ships with 6.6 kernel, and then you just follow the guide for 2mic as before. I PR-ed a change (which is merged) to the driver installation script that allows to install the driver on any supported kernel, so it should select the branch for 6.6 automatically without any intervention. Just make sure the local repo is up-to-date (so |
In case you need further help I would be happy to assist in Home Assistant discord server in #voice_assistants channel, my @ nickname is the same as here but the pfp is an owl figurine |
Thanks, I finally got everything running this morning. I used the Sker65 fork of rhasspy with your latest commit from last week. I think the real issue is cloning from the wyoming-openwakeword repository. Currently is you're using the Pi OS 64 Legacy Lite it has an issue with the tflite-nightly in the requirements.txt. Removing the nightly and re-running the script seemed to work this time. Although now I'm not able to get the LED service to work. Journal shows it's running but the Pi Hat LEDs don't work. |
FYI I had bad luck with the non-nightly version of tflite, the openwakeword service would just crash after some time and not restart, bookworm non-legacy Pi OS Lite is so far a lot more stable for me. |
Hi all, any help would be be gratefully appreciated |
I switched to Bookworm and followed the tutorial but am continuously getting the following error for the OpenWakeWord service. How were you able to get around this?:
|
Hi. I managed to get it to start Fix is here : DeepLabCut/DeepLabCut#2624 (comment) I ran this command
|
I did the same and it didn't resolve the error for me. |
It depends on which distro you are on. There is no nightly build compatible on bullseye so you will need to remove it, with bookworm it's just numpy, requirements.txt for bullseye should be; tflite-runtime |
Thanks, I'll try again later when I've replaced my hat... mine stopped communicating with the Pi so I wiped the sd and started working on a different project. I'm unsure what caused the hardware failure. |
Still no luck with wyoming-openwakeword. Running on Raspberry Pi zero 2 W. I installed Raspberry Pi OS (Legacy, 64 bit) Lite. Successfully installed numpy-2.0.0 tflite-runtime-2.13.0. If the issue is Numpy, do I need to down grade to 1.19.5 or so? I noticed you mentioned Numpy<2.... wyoming-satellite runs with no issues. pi@pi0:~ $ hostnamectl wyoming-openwakeword.service - Wyoming openWakeWord Jun 23 14:39:15 pi0 run[1109]: AttributeError: _ARRAY_API not found |
numpy<2 means the version needs to be less than/older than 2, so 2.0.0 won't work. |
I wasn't aware that Bookworm was supported on raspberry pi Zero 2 W. I will give it a shot. Thanks! |
This worked for me, running on an RPi 4 with:
Thanks! |
The wyoming-openwakeword repo has been updated to fix some dependency issues for now. Ultimately, I would like to switch to using the main openWakeWord project directly. |
I have Wyoming satellite successfully installed on one RPi Zero2 running 64bit lite RPi OS with Respeaker 2 Mic hat, but when following the same tutorial to install it on a second set it is now failing while running the script to get the tflite-runtime-nightly.
cd ~/wyoming-openwakeword
script/setup
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pip in ./.venv/lib/python3.9/site-packages (24.0)
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: setuptools in ./.venv/lib/python3.9/site-packages (69.5.1)
Requirement already satisfied: wheel in ./.venv/lib/python3.9/site-packages (0.43.0)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/wheel/
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement tflite-runtime-nightly (from versions: none)
ERROR: No matching distribution found for tflite-runtime-nightly
Traceback (most recent call last):
File "/home/bedroomsatellite/wyoming-openwakeword/script/setup", line 26, in
subprocess.check_call(pip + ["install", "-r", str(_PROGRAM_DIR / "requirements.txt")])
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/bedroomsatellite/wyoming-openwakeword/.venv/bin/python3', '-m', 'pip', 'install', '-r', '/home/bedroomsatellite/wyoming-openwakeword/requirements.txt']' returned non-zero exit status 1.
It's not finding tflite-runtime-nightly is the provided indexes.
I've tried this on both 4/18/24 and 4/19/24 in case there was an issue with the nightly rebuild of tflite-runtime-nightly, failed both days.
The text was updated successfully, but these errors were encountered: