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