-
Notifications
You must be signed in to change notification settings - Fork 26
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
Cannot install tflite-runtime-nightly #21
Comments
Hello, I have also the same issue : With the setup script :
When i tried to install tflite-runtime-nightly separately :
I also tried to remove "Nightly" from the requirement.txt, but i still got the error I'm on a raspberry pi zero w with python 3.11.2 |
I have submitted #20 to get this fixed but still waiting to be merged. |
I'm not sure this will work as modifying the file directly does not change anything and still gives an error :
|
@jeremyfa55 IDK for me it fixed installation. |
ok, that's strange, i opened a ticket directly on piwheels github and they told me that they skip this package as there is no source available to build from : Seems to be the case for tflite-runtime as well |
But openwakeword requires tflite. And tflite has releases available. |
i tried with pip and i have the same error ;
If you look on piwheels tflite-runtime has also been skipped : https://www.piwheels.org/project/tflite-runtime/ I'm trying to install it since 2 days, i'm clueless... |
@jeremyfa55 make sure |
yes, i checked it as well :
|
Is your Python version too new or too old? |
I'm on python Python 3.11.2, should i upgrade or downgrade ? |
I am running it on a rapberry 0 w (First gen) which is an ARMv6 architecture where the zero 2 w is an Armv7, i suspect this is my issue... i will try on a PI 3B+ to verify this |
This is likely the issue. They don't provide a wheel for armv6. |
yes i just did the install on a RPI 3B+ and it worked like a charm, sorry for the waste of time.. And Thanks for the amazing work you do |
I have Pi Zero 2w. It worked before (I have one satellite for several months), and now it doesn't. So problem exists anyway. |
I removed the -nightly in requirements.txt and it worked for me. |
If you are using Legacy Raspberry Pi OS (Bullseye), it appears that tflite-runtime dropped support for it, so try installing non-legacy Raspberry Pi OS and using that. |
Thanks. Will definitely work for manual installation. |
Could you try using the instructions for the installer under non-Legacy (bookworm) version of Raspberry Pi OS Lite, but instead of
use this command?
|
I will, thanks! |
EDIT: did a rerun to make sure I didn't do a mistake. Looks like I missed after the 'apt upgrade' a reboot this are the results now the install is possible with no issue but the ReSpeaker 4Mic HAT is not recognized
If running the arecord with default option I get following error
|
whie trying to understand where the issue may comes from I spotted following in the logs of the seeed-voicecard.service
|
Did the 4mic card work correctly with 6.1 kernel (Legacy Raspi os?) |
Also, could you please show me the picture of the exact HAT board you are using this with? Do I understand correctly it's the variation that plugs into GPIO pins? |
yes it works perfectly fine on :
Also verifed both 2mic and 4mic are not working under 6.6 kernel |
That's weird, I can't vouch for 4mic myself but on my Pi3 board, Respeaker 2mic worked fine under the 6.6 kernel. |
Tested both 4mic and 2mic on the shared RPi4 board and both are not working with 6.6 kernel. The issue should be moved over to the correct repo as it's just part of this project. (imho) For now I use the modification in requirements.txt |
I've found that on bullseye, the 2.13 version of |
Interesting long conversation... Thanks |
I am running Ubuntu 24.04 on my Pi and it seems like the included Python 3.12 version is too new. I suppose there is nothing we can do but wait for Google to update tflite-runtime? Or downgrade my OS. |
You can install python311 from somewhere (I imagine there are PPAs) and create a |
Thank you. Did the changing of tflite-runtime-nightly to tflite-runtime cause any error or malfunction of the Wak word detector system? |
It did for me personally before I abandoned bullseye, the service would at some point crash and not restart. |
for fellow python 3.12 users here is the tensorflow issue tracking publishing a compatible release: tensorflow/tensorflow#62003 |
You could build tflite-runtime yourself. It isn't difficult for the armv7 |
Here's what i'm getting when trying to install
tflite-runtime-nightly
on Python 3.9.2:I guess, changing that dependency to
tflite-runtime
would work.But as of now, installer from https://github.com/rhasspy/wyoming-satellite/blob/master/docs/tutorial_installer.md doesn't work, because it's pulling repo and installs as-is. So it fails to install wake word.
The text was updated successfully, but these errors were encountered: