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?
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-config
to enable it.The exact options may be slightly different, but this is the sequence on the most recent version:
sudo raspi-config
5 Interfacing Options
and press ENTERP5 I2C
and press ENTERYes
is highlighted and press ENTERFinish
and press ENTERYes
, otherwise runsudo reboot
to restart the Pi yourselfIf everything is fine the script should now work. If not there might be another problem preventing the script running.