Uanble to run yetiborg2

I installed Yetiborg and now when trying to run it I get the following error:

pi@raspberrypi:~/yetiborgv2 $ ./
Loading ZeroBorg on bus 1, address 40
Traceback (most recent call last):
File "./", line 39, in
File "/home/pi/yetiborgv2/", line 304, in Init
self.i2cRead ="/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's picture

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:

  1. Run the command sudo raspi-config
  2. Move down to 5 Interfacing Options and press ENTER
  3. Move down to P5 I2C and press ENTER
  4. Make sure Yes is highlighted and press ENTER
  5. When the message pops up saying it is enabled press ENTER
  6. Move right to select Finish and press ENTER
  7. If it asks to restart select Yes, otherwise run sudo reboot to restart the Pi yourself

If everything is fine the script should now work. If not there might be another problem preventing the script running.

Subscribe to Comments for "Uanble to run yetiborg2"