How to Solve NameError: name 'Action' is not defined -- SCons

Solution: Import the 'Action' module

# Add the following line to the top of your code
from SCons.Action import Action

 

For more information:
SCons Action