Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YouCompleteMe unavailable: requires Vim compiled with Python (3.6.0+) support

i have vim 8.2.850. I am trying to install YouCompleteMe. But get this error, when trying to open vim:

"YouCompleteMe unavailable: requires Vim compiled with Python (3.6.0+) support"

How can i fix this? i saw other ppl answer for different versions. But sorry im a noob, could someone please help and give a detailed explaination on how to fix it?

And i am on mac, using terminal

like image 506
sadibaba2000 Avatar asked Dec 22 '20 18:12

sadibaba2000


3 Answers

It is an old question but I wanted to add I simply installed macvim and re-started terminal again. It solved my problem

- brew install macvim 
like image 96
sedat Avatar answered Sep 16 '22 19:09

sedat


I'm aware that this isn't directed at your question per say, but I ran into the same issue on Ubuntu with nvim. Reinstalling didn't help, but adding https://github.com/neovim/pynvim fixed my issue. Perhaps it can be helpful to Mac users using nvim too.

like image 23
stefanoo Avatar answered Sep 20 '22 19:09

stefanoo


Yes, you can reinstall the latest vim version with homebrew: https://formulae.brew.sh/formula/vim

But, I think you should recheck your vim version with :version, there is no version like yours.

And the latest version itself depends on python, and more like nvim.

# I do like this
brew install vim --HEAD
like image 37
Sheldon Avatar answered Sep 17 '22 19:09

Sheldon