Control servomotors

I am having difficulty in installing software to control a servomotor. i get as far as :-
from adafruit_servokit import Servokit kit = Servokit(channels=16)

I then get error message:-
bash: syntax error near unexpected token’(’

I am 80 years old, hardly in my flush of youth and don’t know how to proceed.

Help please

Are you trying to run it from terminal?
Try opening a python editor like Idle, or Thorny.
Put your code in there and run it from there and see what happens.