Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'gpiodevice' #58

Closed
roger-richards opened this issue Feb 12, 2024 · 3 comments
Closed

No module named 'gpiodevice' #58

roger-richards opened this issue Feb 12, 2024 · 3 comments

Comments

@roger-richards
Copy link

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
Copy link
Author

duh! had to pip3 install gpiodevice

@Gadgetoid
Copy link
Member

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: pimoroni/boilerplate-python#13

And an ongoing progress report: pimoroni/boilerplate-python#16

@helgibbons
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants