ImportError: No module named datetime
Of course, a new upgrade to Python on my devbox and the virtualenv breaks. And, merely reinstalling the virtualenv over top doesn’t work.
This is where you need to make sure your python project has an adequate setup.py to install the dependencies or you’re going to end up reinstalling by hand.
First, deactivate and make sure you’re not in the virtualenv. Get into the virtualenv’s top level directory and:
rm -rf bin/ include/ lib/ local/
Then, rerun setup.py with either install or develop and you should be set.