How to Solve NameError: name 'common' is not defined

Solution: Import the 'common' module

# Add the following line to the top of your code
import common

 

For more information:
Python common