Por que não consigo instalar o powerline

1

Eu instalei powerline, mas 'you complete me' sempre gera um erro (tentei o Ubuntu 16.04 e o Ubuntu 14.04, mas tenho o mesmo problema em ambos)

Eu reinstalo tudo o que posso imaginar.

Eu uso um script para executá-lo

mensagem de erro:

equandoeuchegonovim,hátambémumerro

scriptdeinstalaçãodalinhadealtatensão:

if$POWERLINE;thenecho"POWERLINE"

    # Install pip
    sudo apt-get install -y python-dev
    sudo apt-get install -y python-setuptools
    sudo apt-get install -y easy_install
    sudo easy_install pip

    # Install powerline
    sudo pip install powerline-status

    # Install git complete
    sudo apt-get install -y git bash-completion

    # Install Fonts
    wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf
    wget https://github.com/powerline/powerline/raw/develop/font/10-powerline-symbols.conf
    mkdir -p ~/.fonts/
    mv PowerlineSymbols.otf ~/.fonts/
    fc-cache -vf ~/.fonts/
    mkdir -p ~/.config/fontconfig/conf.d/
    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
fi

script de substituição de arquivo rc:

if $RC; then
    echo "RC"

    # Copy rc file
    sudo apt-get install -y vim
    sudo apt-get install build-essential cmake
    sudo apt-get install -y python-dev
    cp ./.vimrc ~
    cp ./.bashrc ~
    cp ./.bash_profile ~
    cp ./.screenrc ~

    # Install vim plugin
    git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    vim +PluginInstall +qall
    cd ~/.vim/bundle/YouCompleteMe
    ./install.py --clang-completer --omnisharp-completer --gocode-completer --tern-completer
fi
    
por james50428 02.08.2016 / 15:16

0 respostas