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