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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM