See this thread for an example of what happens when code written for one version or Python gets moved into a different version:
My guess is that the person running the code accidentally, or deliberately, copied the dateutils from one site-packages to another.