This is possibly more to do with the underlying library but in the pyA20 library when using 'pyA20.gpio.gpio.setcfg()' in any circumstance with python 3.6.7 freezes the Python program without access to KeyboardInterrupts.
The only possible course of action is to close the SSH session and restart the Pi.
I have also sent a message to the author of the pyA20 Python package but I thought I would report the error here too. N.B: This is an Orange Pi Zero
This is possibly more to do with the underlying library but in the pyA20 library when using 'pyA20.gpio.gpio.setcfg()' in any circumstance with python 3.6.7 freezes the Python program without access to KeyboardInterrupts.
The only possible course of action is to close the SSH session and restart the Pi.
I have also sent a message to the author of the pyA20 Python package but I thought I would report the error here too. N.B: This is an Orange Pi Zero