Error installing Rhasspy in Pi 3

@Kshitiz_Thapa I suppose you are trying to install the latest verion 2.5.8

Me too, on a Pi B3+

Is this a bug? @synesthesiam

Hi,

have the same error on a pi4 with the latest .deb (armhf) package on Raspbian Buster.
Any hints @synesthesiam ?

I’m going to re-work the Debian packages into AppImages. I think this will be more portable, and easier on me in the long run.

To date, the Debian packages have relied on PyInstaller. Every time I add something (like Raven or Larynx), it’s a weeks-long fight with PyInstaller to get it to work right. And this time, I think I lost that fight :frowning:

1 Like

Yeah the same. I am getting the same ModuleNotFoundError

Argh, same here ! :frowning:

But only on amd64 deb package. The armhf build is fine for me. => by bad - both are KO.

+1, no work for me on version rhasspy_2.5.8_armhf.deb

1 Like

Same error on Raspberry 4 with rhasspy_2.5.8_armhf.deb

Same error about missing math - rhasspy_2.5.8_armhf.deb . Going back to 2.5.7.

Sorry, everyone. The Debian packages are messed up in 2.5.8. I’m going to try and migrate over to AppImage so I don’t have to fight with PyInstaller anymore.

Hi synesthesiam

I like your project a lot :slight_smile:
can you anticipate how long it’lll take until the repaired .deb will be available? :wink:

cheers

Dan

Hi @Damn, my plan was to move to AppImage instead of .deb. I have a successful build for PC, but the Raspberry Pi builds are not going so well.

It seems packaging up such a complex Python application is still a nightmare in 2020 :frowning:

I managed to install the dockerversion in my lxc-enviroment for now… good luck with the raspi version and thanks for your effort! Great project…

cheers

Dan

Any updates on a fixed deb package for pi4 ? or an Appimage ? I don’t want to go Docker way !

Thanks :wink:

1 Like

Should be updated this week :+1:

Great news, would be a nice Christmas Rhasspy gift :stuck_out_tongue: Any way to know when it’ll be updated ? I guess it’ll be a 2.5.8.1 version or sometihing like that :wink:

OK, the Debian packages have been updated finally :santa: I just kept the same version number (2.5.8) because the last ones were broken and likely no longer installed.

I haven’t been able to test these packages extensively, but they at least started up and were able to go through training and some basic functions. Please report any bugs you encounter :slight_smile:

I’d still like to transition to AppImage in the future, but along the way to developing an AppImage I managed to fix my issue with the Debian packaging. No PyInstaller needed – just a compiled Python 3.7 installation embedded alongside Rhasspy with all of the packages installed.

3 Likes

Thanks a lot for the updated package I could install without problem on my armhf pi4 :wink:

Please continue to supply some deb packages as AppImage is really not cool for such applications and in general :wink:

Will go try to fix now problem with my initscript (works perfect if I start rhasspy in command line but no way in systemd init script :frowning:

root@rhasspy-satellite:~# more /etc/systemd/system/rhasspy.service 
[Unit]
Description=Rhasspy Autostart
After=network-online.target
 
[Service]
Type=simple
ExecStart=/usr/bin/rhasspy --profile fr
WorkingDirectory=/home/pi
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi
 
[Install]
WantedBy=multi-user.target
root@rhasspy-satellite:~#
1 Like

You’re welcome :slight_smile:

Not sure if it’s the same issue, but there was a Github issue about this a while back. Something about supervisord and stdout being replaced with sockets seems to mess with systemd?

I believe a “solution” is to replace ExecStart with something like:

bash -o pipefail -c '{ /usb/bin/rhasspy -p fr 2>&1 | cat >&2 3>&-; } 3>&1'

Thanks a lot for link and in fact I solved problem with that command line for ExecStart (last message in topic you linked in github :wink: :

ExecStart=/bin/bash -c ‘rhasspy --profile fr 2>&1 | cat’

Will go on setup of rhasspy with Home Assistant now :wink:

Thanks Michael,
This has been a lot of work for you, just for Xmas eve…
But I keep my Rhasspy on docker, even if it can’t run with PulseAudio, which I dislike anyway. I’m better off with Alsa.
JC