Traceback (most recent call last): File "adwin.py", line 4, in <module> print(my_Var.command_request_knock()) File "/home/pi/Desktop/HuskyLens/HUSKYLENSPython/HUSKYLENS/huskylensPythonLibrary.py", line 178, in command_request_knock cmd = self.cmdToBytes(commandHeaderAndAddress+"002c3c") File "/home/pi/Desktop/HuskyLens/HUSKYLENSPython/HUSKYLENS/huskylensPythonLibrary.py", line 107, in cmdToBytes return bytes.fromhex(cmd) AttributeError: type object 'str' has no attribute 'fromhex'
I encountered this problem when I was running the test.py file.