automation-hat icon indicating copy to clipboard operation
automation-hat copied to clipboard

No module named 'gpiodevice'

Open roger-richards opened this issue 1 year ago • 2 comments

Using PiZeroW (I know, old but what I had..) Used following guide to install nodejs on PiZeroW: https://hassancorrigan.com/blog/install-nodejs-on-a-raspberry-pi-zero/ Installed Pimoroni software as documented on their site. Enabled I2C via sudo raspi-config

Tried to run output.py and generated error: No module named 'gpiod' googled and installed: sudo pip3 install smbus

same error: No module named 'gpiod' googled more and installed: sudo apt install libgpiod-dev python3-libgpiod different error: No module named 'gpiodevice' googled more and installed: sudo pip3 install ST7735 same error: No module named 'gpiodevice'

Any suggestions? I've searched throughly.

roger-richards avatar Feb 12 '24 22:02 roger-richards

duh! had to pip3 install gpiodevice

roger-richards avatar Feb 12 '24 23:02 roger-richards

Oof, it might be that Automation HAT is relying on some libraries that have been updated, but which don't properly list their dependencies 😬

I should probably get around to updating Automation HAT itself.

Full details of why everything is a miserable nightmare right now: https://github.com/pimoroni/boilerplate-python/pull/13

And an ongoing progress report: https://github.com/pimoroni/boilerplate-python/issues/16

Gadgetoid avatar Feb 15 '24 10:02 Gadgetoid

Hopefully things should be working better now that everything's updated and merged in!

Up-to-date installation instructions can be found here and here.

Closing this one for now.

helgibbons avatar May 07 '24 12:05 helgibbons