After following the steps specified in Boeeerb's PiGlow github repo, when I try to run the test.py file it gives me the following message:
Traceback (most recent call last) :
File "test.py" , line 9, in <module>
piglow = PiGlow()
File "/home/pi/piglow/piglow.py" , line 30,in _init_
self.bus = SMBus(i2c_bus)
IOError: [Errno 2] No such file or directory
I have tried rebooting, and trying it multiple times. I also used the ls command to ensure the file is there. What's wrong there?
piglow.py? On the github repository it'sself.bus = SMBus(i2c_bus).