Hello
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/analog_marn_lcd_b.py”, line 22, in
import ST7735 as ST7735
File “/usr/local/lib/python3.7/dist-packages/ST7735.py”, line 3, in
from st7735 import * # noqa F403
File “/usr/local/lib/python3.7/dist-packages/st7735/init.py”, line 25, in
import gpiodevice
File “/usr/local/lib/python3.7/dist-packages/gpiodevice/init.py”, 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!
Thanks
Alessio
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!