What am I doing wrong here? This code was working correctly beforehand and all of a sudden it's giving me these errors.
So I tried backing up the previous version and The Issue is also coming with the previous version
leaptest ver4 output as follows:
Initialized
Press Enter to quit...
Motion Sensor Connected!
Connected
Traceback (most recent call last):
File "E:/1.LEAP/LeapTest4/main.py", line 40, in on_frame
print handType + "Hand ID" + str(hand.id) + "Palm Position" + str(hand.pake_position)
File "E:\1.LEAP\LeapTest4\Leap.py", line 716, in
getattr = lambda self, name: swiggetattr(self, Hand, name)
File "E:\1.LEAP\LeapTest4\Leap.py", line 71, in swiggetattr
return swiggetattr_nondynamic(self, class_type, name, 0)
File "E:\1.LEAP\LeapTest4\Leap.py", line 66, in swiggetattr_nondynamic
return object.getattr(self, name)
AttributeError: type object 'object' has no attribute 'getattr'
Process finished with exit code 1
leaptest ver7 output as follows:
E:\anaconda\envs\LeapTest7\python.exe E:/1.LEAP/LeapTest7/main.py
Traceback (most recent call last):
File "E:/1.LEAP/LeapTest7/main.py", line 52, in
for hand in frame.hands:
AttributeError: 'module' object has no attribute 'hands'
Process finished with exit code 1
What am I missing or doing wrong?