ImportError: can't import name EncodedMotor

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

I wonder if something in your XRPLib files may have gotten corrupted.

On the left side of XRPCode is the directory of the files on your XRP. If you go to lib/XRPLib directory and then right click on the file called version.py and delete it. Then unplug your XRP and plug it back in. When it reconnects it will ask to load XRPLib again.

Let us know if that solves the problem.

That did it, and is exactly the information I was looking for.
Thanks.