Error installing Rhasspy in Pi 3

When I try to install the Rhasspy in my Raspberry Pi 3, it says this error.
E: Unsupported file /path/to/rhasspy_2.5.8_armhf.deb given on commandline
Can someone help me ?

Try with the docker installation.
If you want to install with the deb file, mind your path which should be /home/pi/Downloads/ instead of /path/to/
I’ve just tried the installation with this file but end up with an error ModuleNotFoundError: No module named 'math' when I want to start Rhasspy.
Report if you have the same

1 Like

Same with raspberry pi 4 and .dep installation

pi@homeautomation:~ $ rhasspy --profile de
Starting up…
Using virtual environment at /usr/lib/rhasspy/.venv
Traceback (most recent call last):
File “/usr/lib/python3.7/”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.7/”, line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File “/usr/lib/python3.7/”, line 109, in _get_module_details
File “/usr/lib/rhasspy/rhasspy-supervisor/rhasspysupervisor/”, line 9, in
import yaml
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/”, line 8, in
from .loader import *
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/”, line 8, in
from .constructor import *
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/”, line 14, in
import, datetime, base64, binascii, re, sys, types
File “/usr/lib/python3.7/”, line 8, in
import math as _math
ModuleNotFoundError: No module named ‘math’

@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


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:



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…



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 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.


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 
Description=Rhasspy Autostart
ExecStart=/usr/bin/rhasspy --profile fr
1 Like