Please install MacVim using this command:
brew install macvim --env-std --override-system-vim
Then install Powerline locally with pip install --user, or by running these commands in the powerline directory:
./setup.py build
./setup.py install --user
This is caused by an invalid sys.path when using system vim and system Python. Please try to select another Python distribution:
sudo port select python python27-apple
See issue #39 for a discussion and other possible solutions for this issue.