Error IOError: [Errno 2] No such file or directory with Button shim

when I run the example the following error happens:

Traceback (most recent call last):
File “”, line 32, in
@buttonshim.on_press([buttonshim.BUTTON_A, buttonshim.BUTTON_B, buttonshim.BUTTON_C, buttonshim.BUTTON_D, buttonshim.BUTTON_E])
File “/usr/lib/python2.7/dist-packages/buttonshim/ init .py”, line 294, in on_press
File “/usr/lib/python2.7/dist-packages/buttonshim/ init .py”, line 186, in setup
_bus = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory

Does anybody have an idea what the failure is?

That’s usually a connection problem between the SHIM and your Pi. Could you post a photo of the soldering, please, and how you’ve connected it so that we can check it?

thx for the immediate response. Here is the photo. The male header on the raspberry pi ist solder less.

and thats how I connected the button shim with the raspberry.

Hey everyone. I have finally found the solution of my problem. It was not a connection problem as supposed, however, the I2C option had to be activated in the raspi-config menu under the point “interfacing options”.