How to Solve NameError: name 'Utils' is not defined -- waflib

Solution: Import the 'Utils' module

# Add the following line to the top of your code
from waflib import Utils

 

For more information:
waflib Utils