I am trying to run a program using
ImportError: No module named dateutil.relativedelta
from dateutil.relativedelta import *
sudo yum install python-dateutil
(switch to virtual environment)
yum install python-dateutil
I also ran into this issue, the simple solution I ended up using was to add --upgrade to the end of the command. This forced it to install it even though python thought it was installed. This resolved the issue.
So if you have this issue, try the following:
sudo pip install python-dateutil --upgrade
It can't possibly hurt anything, so there is no harm in just forcing it to be reinstalled.