Automation hat mini examples not working

I have a rpi4 with an automation hat mini connected directly.

I started the tutorial from here:

I did the curl install then a reboot.

I went to the ~/Pimoroni/automationhat/examples/hat-mini directory and tried the example.

It complained that the ST7735 module wasn’t installed, so I did a
pip install ST7735

Now I get:

This Automation HAT Mini example toggles and displays the
status of the three 24V-tolerant digital outputs.

Press CTRL+C to exit.

Traceback (most recent call last):
File “”, line 52, in
File “/usr/local/lib/python3.7/dist-packages/ST7735/”, line 156, in init
self._spi = spidev.SpiDev(port, cs)
FileNotFoundError: [Errno 2] No such file or directory

Any thoughts?

had to enable SPI in rpi config. it seems to be working now.