I upgraded to Mavericks last night, and the only thing that broke was powerline in bash. So I tried reinstalling it according to the instructions, but have been getting some errors.
It still works in vim, ipython, as expected.
However, bash gives me the error:
bash: powerline: command not found
I'm setting it up as instructed in the documentation by putting the following line into my .bash_profile:
. /Users/USERNAME/Library/Python/2.7/lib/python/site-packages/powerline/bindings/bash/powerline.sh
Any ideas on how to fix this?
I'm seeing a similar instance of this issue:
/Library/Python/2.7/site-packages/powerline/bindings/tmux/powerline.conf: No such file or directory
Listing all files in the /Library/Python/2.7/site-packages reveals only a README:
$ ls -a /Library/Python/2.7/site-packages
. .. README
I'm using iterm2/zsh/tmux/vim and do not see powerline being formatted as it was before the upgrade to Mavericks in tmux or vim. I have not tried to reinstall.
I'm having the same issue.
Powerline not in the site packages - have tried fresh install... no dice.
@iamjboyd I had the same issue and the problem is that, as the output says, the powerline command cannot be found.
The powerline command is on the directory /Users/USERNAME/Library/Python/2.7/bin so I've solved it adding the following lines to my .bash_profile:
if [ -d "$HOME/Library/Python/2.7/bin" ]; then
PATH="$HOME/Library/Python/2.7/bin:$PATH"
fi
Solved! Thanks rafacas!
This should be added to the https://powerline.readthedocs.org/en/latest/troubleshooting.html or general setup sections. I hit this problem after an OSX upgrade as well.
I hit the same issue on Mac OS X 10.9.3 as well, and rafacas's solution helped! Thanks so much!
Most helpful comment
@iamjboyd I had the same issue and the problem is that, as the output says, the powerline command cannot be found.
The powerline command is on the directory /Users/USERNAME/Library/Python/2.7/bin so I've solved it adding the following lines to my .bash_profile: