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

5.1k Views Asked by At

I would like to install the vim plug-in YouCompleteMe but after installing, when I launch Vim I get the warning:

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

I know that I have Python 3.9.13 installed on my machine so I don't see what the issue is.

Could anyone help with this issue?

3

There are 3 best solutions below

0
Brian61354270 On BEST ANSWER

The operative phrase in that error message is "compiled with". It's not the version(s) of Python you have installed on your system that matter, but the version of Python that your Vim installation supports.

You can refer to the Installation section of YouCompleteMe's README for what Vim runtimes are supported. You may be able to install a compatible version of Vim using your preferred package manager. Failing that, you can always build Vim from source.

0
Bresch On

I had the same issue with Neovim and solved it by installing pynvim.

It can be installed using pip3 install pynvim

1
xjsbu On

Just install "vim-python".