There are statements in modbusClient.py that call bytearray.hex(' '). But bytearray.hex with an argument was only introduced in Python 3.8. So that code fails.
It happens to be in logging.debug statements, so perhaps those were supposed to be removed?
There are statements in modbusClient.py that call bytearray.hex(' '). But bytearray.hex with an argument was only introduced in Python 3.8. So that code fails. It happens to be in logging.debug statements, so perhaps those were supposed to be removed?