I have an XRP that works with the online block programmer.
When attempting to use Python I receive this error:
ImportError: can’t import name EncodedMotor
The only line in the program other than the default import and comments is:
print(‘hello world’)
The full error is below.
Any pointers to get past this appreciated.
Traceback (most recent call last):
File “”, line 5, in
File “helloworld.py”, line 1, in
File “/lib/XRPLib/defaults.py”, line 2, in
File “/lib/XRPLib/differential_drive.py”, line 1, in
File “/lib/XRPLib/encoded_motor.py”, line 1, in
File “/lib/XRPLib/motor.py”, line 8, in Motor
SyntaxError: non-default argument follows default argument
Traceback (most recent call last):
File “”, line 10, in
File “/lib/XRPLib/resetbot.py”, line 38, in
File “/lib/XRPLib/resetbot.py”, line 8, in reset_motors
ImportError: can’t import name EncodedMotor