DewGew/Domoticz-Google-Assistant

DZGA won't start anymore after rasbian upgrade to bullseye

harolds opened this issue · 1 comments

After upgrading ubuntu on my raspberry to bullseye dzga no longer starts.

(env) pi@domoticz:~ $ python3 Domoticz-Google-Assistant
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/pi/Domoticz-Google-Assistant/main.py", line 4, in
from server import *
File "/home/pi/Domoticz-Google-Assistant/server.py", line 6, in
from helpers import FILE_DIR
File "/home/pi/Domoticz-Google-Assistant/helpers.py", line 12, in
import requests
ModuleNotFoundError: No module named 'requests'

Sorry I fixed it.

I needed to replace cd /etc/systemd/system/dzga.service with the one from this site.
Now it is starting again ;-)