WHY, WHY, WHY is it so difficult. I have been trying to use event interrupts in python 3 on a Pi Zero. However continue to get the error ‘failed to set up event triggering’ or something to that effect. Have done a lot of reading with no luck.
The same functions under Micro Python work very well???
You can check what versions of Python are installed on your Pi Zero and 4 with this command. ls /usr/bin/python*
You may find that the Pi 4 could have Python 2 and 3.