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

Error: No SMBus #25

Open
jaknz opened this issue Jul 18, 2022 · 0 comments
Open

Error: No SMBus #25

jaknz opened this issue Jul 18, 2022 · 0 comments
Labels

Comments

@jaknz
Copy link

jaknz commented Jul 18, 2022

Hi,
I have an up-to-date RPi3 and have plugged my PiGlow into it. I ran the install script, which didn't throw any errors, but the example scripts all fail to run. Looks like maybe an incompatibility between Python 2/3?

$ ./cycle.py 
0
Traceback (most recent call last):
  File "/home/pi/Pimoroni/piglow/examples/cycle.py", line 14, in <module>
    piglow.show()
  File "/usr/lib/python3/dist-packages/piglow.py", line 126, in show
    setup()
  File "/usr/lib/python3/dist-packages/piglow.py", line 323, in setup
    import sn3218
  File "/usr/lib/python3/dist-packages/sn3218.py", line 108, in <module>
    i2c = SMBus(i2c_bus_id())
FileNotFoundError: [Errno 2] No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants