Module error on Home Assistant and other requirement

Creating a bug report/issue

Required Information

  • DietPi version | latest
  • Distro version | bulleye
  • Kernel version | 6.1
  • Architecture | arm64
  • SBC model | OdroidHC4

Additional Information (if applicable)

  • Software title | Home Assistant
  • Was the software title installed freshly or updated/migrated? Updated
  • Can this issue be replicated on a fresh installation of DietPi? Don’t know

Steps to reproduce

dietpi-software reinstall 157

Actual behaviour

The installation finish, but during the install it shows this:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/homeassistant/.pyenv/versions/3.11.4/lib/python3.11/tkinter/", line 38, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
WARNING: The Python tkinter extension was not compiled and GUI subsystem has been detected. Missing the Tk toolkit?

Home Assistant starts fine, but apart from the error above, one integration fails, Scrape, with this error:
Setup failed for scrape: Requirements for scrape not found: ['lxml==4.9.1'].

Did you tried to install missing module manually?

sudo -u homeassistant bash
. /home/homeassistant/
pip3 install <module>

Noup, I thought it was Home Assistant who installs the requiered modules… I have that integration before the last 2 updates, and there was no error before.

I will try then.

Thank you.