In Mac OSX 10.8.2 im unable to get powerline to work, it bails everytime vim lauches with the following error:
Error detected while processing /Users/wbroach/.vimrc:
line 1:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named powerline.ext.vim
I can verify that the module is in fact installed:
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import powerline.ext.vim
dir(powerline)
['builtins', 'doc', 'file', 'name', 'package', 'path', 'ext']
It can be found in the following location on my system:
/Library/Python/2.7/site-packages/Powerline-beta-py2.7.egg/powerline/ext/vim/powerline.vim
/Library/Python/2.7/site-packages/powerline/ext/vim/powerline.vim
Im using just a plain blank .vimrc with just one line, shown below:
python from powerline.ext.vim import source_plugin; source_plugin()
My sys specs are as follows:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 16 2012 15:12:57)
Python 2.7.2 (default, Jun 20 2012, 16:23:33)
I can verify that vim is in fact using the correct python version that the module is installed to
in vim:
:python import sys
:python print(sys.version)
2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
Press ENTER or type command to continue
Please advise