Uanble to run yetiborg2
Forums:
I installed Yetiborg and now when trying to run it I get the following error:
pi@raspberrypi:~/yetiborgv2 $ ./yeti2Web.py
Loading ZeroBorg on bus 1, address 40
Traceback (most recent call last):
File "./yeti2Web.py", line 39, in
ZB.Init()
File "/home/pi/yetiborgv2/ZeroBorg.py", line 304, in Init
self.i2cRead = io.open("/dev/i2c-" + str(self.busNumber), "rb", buffering = 0)
IOError: [Errno 2] No such file or directory: '/dev/i2c-1'
Any ideas on how to fix this?
- Log in to post comments


piborg
Fri, 03/23/2018 - 12:24
Permalink
Enabling I2C
The most likely issue is that the I2C is not enabled, you can use
raspi-configto enable it.The exact options may be slightly different, but this is the sequence on the most recent version:
sudo raspi-config5 Interfacing Optionsand press ENTERP5 I2Cand press ENTERYesis highlighted and press ENTERFinishand press ENTERYes, otherwise runsudo rebootto restart the Pi yourselfIf everything is fine the script should now work. If not there might be another problem preventing the script running.