Error from basic Servo Sweep example

The IDE include the servo library. You shouldn't need to install it in your sketch folder. Delete that one and try again.