Weird Disutils Error When Running Python Scripts Within MacVim

I saw this today when trying to run a nosetest in MacVim:

DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.7" during configure

Add this to your .vimrc to fix this weird message.

If you found this post helpful, please consider sharing to your network. I'm also available to help you be successful with your distributed systems! Please reach out if you're interested in working with me, and I'll be happy to schedule a free one-hour consultation.