I’ve spent this afternoon trying to get my Piglow to work on two RasPis (B and B+), both have same problem! This is the error I got with the Pi B+
I tried to test the file by running sudo python test.py but…this is the error message I got:
Traceback (most recent call last):
File “test.py”, line 18, in
pyglow = PyGlow()
File “/home/pi/pyglow/PyGlow.py”, line 117, in_init_
self.bus = SMBus(i2c_bus)
IOError: [Errno 2] No such file or directory
The Pyglow files have downloaded to the Pyglow folder I made and all seems to be in order.
DECIDED TO CHECK THE i2c DRIVER MODULE, SO FOLLOWED INSTRUCTIONS FOR THIS.
Added the two lines
THEN CHECKED BLACKLIST CONFIG
sudo nano /etc/modprobe-d/raspi-blacklist.conf
but the file is blank like it’s new, no lines to comment out?
I’ve checked and re-checked that I’m typing the correct thing and cross-checked with the instructions on the Pimoroni website too.
Can anyone help please?
Eternal gratitude guaranteed :o)