Reputation: 91
I am using vim-plug plugin manager and it worked great until I tried to install Youcompleteme plugin with it. I tried putting Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
on my .vimrc
and tried PlugInstall!
and PlugUpdate!
without success. I read the documentation from github and I thought it should work like that.
Althought I am unsure if this should be done by running ~/.vim/plugged/YouCompleteMe/install.py --all
in command line , as I am not using vundle.
Ps. My computer is using Arch Linux, but I don't think that it relates to this problem.
If you need more info please let me know!
Upvotes: 1
Views: 1364
Reputation: 13715
First read the installation instructions.
Make sure you have cmake and Python headers installed.
sudo apt-get install build-essential cmake python3-dev
As @tink suggested below use the package manager for your distribution instead of just running apt-get
.
Remove the plugin and reinstall with :PlugInstall
You can also manually run:
~/.vim/plugged/YouCompleteMe/install.py
To find actual build errors.
BTW I have to run it like:
python3 install.py
Upvotes: 1
Reputation: 462
It might be timing out while downloading.
You can clone Valloric/YouCompleteMe to .vim/plugged and then do the Installation.
You can still keep Plug 'Valloric/YouCompleteMe'
in you .vimrc, so it will update when the plugin gets updated.
Upvotes: 0