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
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/runpy.py”, line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File “/usr/lib/python3.7/runpy.py”, line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File “/usr/lib/python3.7/runpy.py”, line 109, in _get_module_details
import(pkg_name)
File “/usr/lib/rhasspy/rhasspy-supervisor/rhasspysupervisor/init.py”, line 9, in
import yaml
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/init.py”, line 8, in
from .loader import *
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/loader.py”, line 8, in
from .constructor import *
File “/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/yaml/constructor.py”, line 14, in
import collections.abc, datetime, base64, binascii, re, sys, types
File “/usr/lib/python3.7/datetime.py”, 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
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
Yeah the same. I am getting the same ModuleNotFoundError
Argh, same here !
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
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
can you anticipate how long it’lll take until the repaired .deb will be available?
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
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
Should be updated this week
Great news, would be a nice Christmas Rhasspy gift Any way to know when it’ll be updated ? I guess it’ll be a 2.5.8.1 version or sometihing like that
OK, the Debian packages have been updated finally 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
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
Please continue to supply some deb packages as AppImage is really not cool for such applications and in general
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
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:~#