Possibly similar to this, but the error looks different.
Traceback (most recent call last):
File "/home/robot/testing/prog.py", line 4, in <module>
btn = ev3.Button()
File "/usr/lib/python3/dist-packages/ev3dev/core.py", line 2554, in __init__
self._file_cache[name] = open(name, 'rb', 0)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/input/by-path/platform-gpio-keys.0-event'
#!/usr/bin/env python3
import ev3dev.ev3 as ev3
btn = ev3.Button()
# Is 'Left' button pressed?
print('yes' if btn.left else 'no')
# Check if any buttons are pressed:
print('yes' if btn.any() else 'no')
It appears that Buttons do not work.
I'm using the latest ev3dev stretch on my ev3, with no modifications/additional installs.
Possibly similar to this, but the error looks different.
Minimum example, copied from here.