GrowHat screen doesn't work due to missing ltr559 module

Hi,

I can’t get the GrowHat screen to work, likely because of a missing module.

When running:
python monitor.py

I get:
Traceback (most recent call last):
File “/home/jmcmillon/Pimoroni/growhat/examples/monitor.py”, line 10, in
import ltr559
ModuleNotFoundError: No module named ‘ltr559’

pip install ltr559

Throws the following error:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

What’s the best way to get this module installed?

Thanks!

Bookworm has changed how Python modules need installed. You can find more information about how to work with it or around it in this thread: St7789 install error with Bookworm?