Automation Hat Mini Error "gpod - Chip"

i just upraded a raspberry using a Automation phat to a automation hat mini, to use the display
i can run my previous program (using the relay and one input) but i cannot use the LCD
i get always:

Traceback (most recent call last):
File “/home/pi/Desktop/autohat/”, line 22, in
import ST7735 as ST7735
File “/usr/local/lib/python3.7/dist-packages/”, line 3, in
from st7735 import * # noqa F403
File “/usr/local/lib/python3.7/dist-packages/st7735/”, line 25, in
import gpiodevice
File “/usr/local/lib/python3.7/dist-packages/gpiodevice/”, line 20, in
def check_pins_available(chip: gpiod.Chip, pins, fatal: bool = True) → bool:
AttributeError: module ‘gpiod’ has no attribute ‘Chip’

Even using Pimoroni examples

i did try googling and the search here, but cannot find a solution.
Any help will be appreciated!

Sounds like a conflict around GPIO packages; the simplest solution will be to do a clean install and install the automation hat’s stuff without any lingering packages from the phat.

Of course, that depends on you not having too much stuff to reconfigure in a new install!

i think yu may be right…
i’m turning aroung the solution probably and is purely related to the LCD.
I can do a clean install and i will try that

After lots of trial and error i got the Automation HAT mini with display to work
here what i did
(fresh install Pi OS Bullseye on a Rpi 3B+)

Activated SPI and I2C in the settings
and then
(as pimoroni instruction)

curl | bash

but this did not work got toe error some posts above
so i could find out that i need to do:

pip3 install gpiod

pip3 install gpiodevice

sudo pip3 install fonts font-roboto

pip3 install pms5003==0.0.5 and pip install st7735==0.0.5

after this the Pimoroni Auto Hat mini with the LCD did work with my programs as well f course Pimoroni examples.
Maybe this will help others