I have the piglow installed on my new Pi Zero and I have downloaded the PiGlow python library.
i tried each example in order and each one gave more or less the same error., it is just the file name which changes:
pi@raspberrypi:~/Downloads/piglow-master/examples $ python legs.py
Traceback (most recent call last):
File “legs.py”, line 5, in
import piglow
File “/usr/lib/python2.7/dist-packages/piglow.py”, line 6, in
import sn3218
File “/usr/lib/python2.7/dist-packages/sn3218.py”, line 108, in
i2c = SMBus(i2c_bus_id())
IOError: [Errno 2] No such file or directory
I thought that there was a link on the piglow page where you could curl the files, but not any more.
Aah, so there is, Doh!
I didn’t scroll down to look for it, as I’m sure it was on the piglow product page before. Then when it wasn’t there I assumed , wrongly, that it wasn’t anywhere.
Some of those links are easy to miss. These days I hardly ever bookmark the product page, I bookmark the GitHub page instead. Its where all the real info is, the stuff you need to make it work. Anyway, now you can get going with the fun part. ;)