Getting the following kinds of warnings when running most python scripts in the command line:
/Library/Python/2.6/site-packages/virtualenvwrapper/hook_loader
If the warning shows in a program you are modifying, try it this way (examply with pytz):
try: import pytz except ImportError: from pkg_resources import require require('pytz')