YouCompleteMe unavailable: requires Vim compiled with Python 2.x support

问题:YouCompleteMe unavailable: requires Vim compiled with Python 2.x support

解决:重新编译,加入--enable-pythoninterp=yes参数。如果想开启Python3支持,则--enable-python3interp=yes

./configure --with-features=huge --enable-pythoninterp=yes --enable-cscope --enable-fontset --with-python-config-dir=/usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu --enable-pythoninterp=yes --enable-python3interp=yes
make
make install

 

转载于:https://www.cnblogs.com/wangjq19920210/p/11576836.html

你可能感兴趣的:(YouCompleteMe unavailable: requires Vim compiled with Python 2.x support)