How to Solve NameError: name 'parse' is not defined -- dateutil

Solution: Import the 'parse' module

To Solve the error, add the following line to the top of your code.

from dateutil.parser import parse

 

For more information:
Python dateutil parse