If you just updated your system and working with some python application in virtualenv, it is possible to get some weird error with standard libraries import like:
ImportError: No module named datetime
Probably some of your python global installations files has changed, so Virtualenv has some broken links.
- From inside your virtualenv, save all the required libraries to a requirements file:
pip freeze > requirements.txt
- Delete your virtualenv :
-Then create it again with virtualenv wrapper:
- From inside your virtualenv, reinstall all your application requierements:
pip install -r requirements.txt
You got it!