How to Solve NameError: name 'Animation' is not defined -- kivy
Solution: Import the 'Animation' module
To Solve the error, add the following line to the top of your code.
from kivy.animation import Animation
For more information:
Python kivy Animation