When I upgrade my Ubuntu into 14.04 from 12.04, this time I get this error:
ImportError: No module named datetime
This happened to me when I created a virtualenv and then upgraded from 12.04 to 14.04.
I had to delete my virtualenv and recreate it, and after doing that, everything worked again.