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

592 ワード

質問:YouCompleteMe unavailable:requires Vim compiled with Python 2.x support
解決:再コンパイルし、--enable-pythoninterp=yesパラメータを追加します.Python 3サポートをオンにしたい場合は、--enable-python 3 interp=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