Youcompleteme: On Vim 7.4 displays "YouCompleteMe unavailable: requires Vim 7.3.584+"

Created on 9 Sep 2013  ·  18Comments  ·  Source: ycm-core/YouCompleteMe

The version check must be broken, because with Vim 7.4 from Ubuntu Saucy Salamander it complains:

YouCompleteMe unavailable: requires Vim 7.3.584+

Obviously 7.4 > 7.3.584

Most helpful comment

I was getting the same error when I did a git commit without specifying the -m option. Turns out git was pointing to a different version of vim. I fixed it using:

git config --global core.editor `which vim`

Hope it helps anyone else having the same issue.

All 18 comments

This was fixed months ago, you need to sync.

Oops, sorry, I didn't check my version, I was assuming I have the latest. Sorry for wasting your time.

How to sync, for I made the procedures today and still can't compile YouCompleteMe.

Delete YCM from your vim config files and reinstall from scratch. Without any additional info I don't know how to help.

But what's the point of recompiling from scratch now if I did it yesterday?
What kind of info do you need, for I'm really looking forward to this plugin.

@patrickvob Tell me the steps you did, the output of vim --version and the error you got.

yeah, I'm getting the same problem. I installed Mavericks on my 2006 Mac Pro using SFOTT and Tiamo's boot.efi and all kinds of wacky stuff happened. Now everything is straightened out except for getting YCM to work in my terminal vim.

I have pulled down the latest YCM through git and ran install.sh. I have the brew version of MacVim installed and YCM works fine as does Powerline. However, my terminal vim always gives me the YCM unavailable error. I did a brew uninstall of macvim && brew install macvim --override-system-vim a couple of times but to no avail.

my terminal vim has +python/dyn -python3.

On a side note, I have to unlink python to keep MacVim from throwing a PyThreadState_Get error and that's getting my OCD to act up a little as well as not being to get YCM to work in vim. It's not a big deal really as I do most of my coding in MacVim, it's just like I said, I'm a little OCD.

I was getting the same error when I did a git commit without specifying the -m option. Turns out git was pointing to a different version of vim. I fixed it using:

git config --global core.editor `which vim`

Hope it helps anyone else having the same issue.

It works! Thanks @brennancheung :)

Thanks @brennancheung! That was the same issue I was having. Resolved! :)

I have fixed it with alias vi on mac OS 10.11.6.

alias vi='vim'

# working after restart.
echo "alias vi='vim'" >> ~/.bashrc

@chusiang Thank you ! It works for me but there is still something wrong that when I restart the terminal the trouble show again. I'm using terminal on mac without GUI.

Add the alias command to your .bashrc

@scurlyhair You can add alias vi='vim' to your bashrc, It can work after restart terminal.

@brennancheung Thank you that worked perfectly :D

hi , I have the same problem in my Mac:YouCompleteMe unavailable: requires Vim 7.4.1578+.
But my computer system just reloaded yesterday,it is macOS Sierra 10.12.6.
And I launch the vim show : version 7.4.8056
I think 7.4.8056 > 7.4.1578
BUT when I install YouCompleteMe by Vundle it show:YouCompleteMe unavailable: requires Vim 7.4.1578+

What exactly is going on? Who can help me ?

Same happens on Centos6.9. The latest vim available here is 7.4.629.

Was this page helpful?
0 / 5 - 0 ratings