automation-hat
automation-hat copied to clipboard
No module named 'gpiodevice'
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.
duh! had to pip3 install gpiodevice
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