Solving YouCompleteMe requires Vim compiled with Python 2.x support Problem
Published in
1 min readApr 10, 2015
YCM is one of the best C++ autocomplete plugin for vim. When I tried to use it, I got “YouCompleteMe requires Vim compiled with Python 2.x support” error. In this post, I will show you how to solve this issue.
First of all lets download the latest source code of the vim. For this step I assume you have mercurial. (Download link may change in the future)
Download Vim from https://github.com/vim/vim
After download it, follow below instructions.
$ cd vim
$./configure --enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config
$ make
$ sudo make install