Error: Powerline with Vim and Bash on OsX iTerm2

1,794 views
Skip to first unread message

a.mo...@gmail.com

unread,
Jun 3, 2015, 3:13:37 PM6/3/15
to powerlin...@googlegroups.com
Hi folks,

I've just try to use Powerline with Bash on my system, but it keeps bugging. I followed your online tutorial and I had this error :

antoine@dev2:~$ bash
Config file not found in search paths (/usr/local/lib/python2.7/dist-packages/powerline/config_files, ~/.config/powerline): config.json

then I created a  "~/.config/powerline" folder and copy "/../powerline/config_files/" content into it. Then I got this error:
antoine@dev2:~$ bash
Failed to obtain renderer
Failed to obtain rendererexit

This is what I put in the end of my ".bashrc":
# Enable the Powerline plugin for a sexy prompt
powerline
-daemon -q
#POWERLINE_BASH_CONTINUATION=1
#POWERLINE_BASH_SELECT=1
source
/home/antoine/.local/lib/python2.7/site-packages/powerline/bindings/bash/powerline.sh

Finally when I source '.bashrc' it return this error message:
antoine@dev2:~$ . .bashrc
-bash: /home/antoine/.local/lib/python2.7/site-packages/powerline/bindings/bash/../../../scripts/powerline-config: No such file or directory
-bash: /home/antoine/.local/lib/python2.7/site-packages/powerline/bindings/bash/../../../scripts/powerline-config: No such file or directory



Thanks in advance,
Antoine

Nikolay Pavlov

unread,
Jun 4, 2015, 9:45:51 AM6/4/15
to a.mo...@gmail.com, powerlin...@googlegroups.com
This looks much like invalid installation. `powerline-config` script
must be in some directory from $PATH for this error not to happen. And
given that it searches config files and powerline-config script it
looks like if you have two installations.

How did you install powerline? Where are `powerline`,
`powerline-daemon` and `powerline-config` executables?

>
>
>
> Thanks in advance,
> Antoine
>
> --
> You received this message because you are subscribed to the Google Groups
> "powerline" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to powerline-supp...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Gene Crucean

unread,
Feb 7, 2017, 8:30:53 PM2/7/17
to powerline, a.mo...@gmail.com
I actually have the exact same issue. Installed with

On osx fwiw.

brew install python
pip install
--user powerline-status

If I run

which powerline-daemon

If I try to install again..

Requirement already satisfied: powerline-status in ./Library/Python/2.7/lib/python/site-packages

I get nothing. What's the best way to uninstall and reinstall? Sorry not a python/pip guy.

Nikolay Aleksandrovich Pavlov

unread,
Feb 8, 2017, 3:49:26 AM2/8/17
to Gene Crucean, powerline, Antoine Moevus
2017-02-08 4:30 GMT+03:00 Gene Crucean <genec...@gmail.com>:
> I actually have the exact same issue. Installed with
>
> On osx fwiw.
>
> brew install python
> pip install --user powerline-status
>
> If I run
>
> which powerline-daemon
>
> If I try to install again..
>
> Requirement already satisfied: powerline-status in
> ./Library/Python/2.7/lib/python/site-packages
>
> I get nothing. What's the best way to uninstall and reinstall? Sorry not a
> python/pip guy.

pip installs executables to specific location. That must be in $PATH.

niha...@gmail.com

unread,
Apr 23, 2019, 2:20:06 AM4/23/19
to powerline
hi, guys,
i solve the problem by using 'powerline-daemon -k' kill the powerline-daemon


在 2015年6月4日星期四 UTC+8上午3:13:37,a.m...@gmail.com写道:
Reply all
Reply to author
Forward
0 new messages