OS: Ubuntu 16.04 LTS
vim: already installed with python by source from apt-get source vim
then, apt-get install vim-youcompleteme, it is ok for now.
I check the guide in, and say: vam install youcompleteme
BUT, in 16.04, it is failed, and give INFO:
Info: ignoring 'youcompleteme' which is neither removed nor broken
At the same time, it is works well in Mint17.
I cannot figure it out.
2 Answers
Installation process of YouCompleteMe has been modified. Use the instructions provided in the GitRepo Help file.
0Make sure you have Vim 7.4.143 with Python 2 or Python 3 support. Ubuntu 14.10 and later have a Vim that's recent enough.
Install YouCompleteMe with Vundle.
Remember: YCM is a plugin with a compiled component. If you update YCM using Vundle and the ycm_core library APIs have changed (happens rarely), YCM will notify you to recompile it. You should then rerun the install process.
Install development tools and CMake.
sudo apt-get install build-essential cmakeMake sure you have Python headers installed.
sudo apt-get install python-dev python3-devCompiling YCM with semantic support for C-family languages:
cd ~/.vim/bundle/YouCompleteMe ./install.py --clang-completerCompiling YCM without semantic support for C-family languages:
cd ~/.vim/bundle/YouCompleteMe ./install.py
That means it's already installed most likely.
If you run vam on its own it should show its status.
Maybe try vam remove youcompleteme then re install.
Maybe try sudo vam remove -w youcompleteme to do a system wide remove, then reinstall.