【求助】YouCompleteMe插件安装问题!!
Tofloor
poster avatar
vic
deepin
2017-09-03 01:36
Author
YouCompleteMe unavailable: requires Vim compiled with Python (2.6+ or 3.3+) support.
这个报错怎么解决,社区里面有帖子说过重新编译,已经重新按照教程弄好了,但是报错还在
有没有解决办法
Reply Favorite View the author
All Replies
avatar
176******11
deepin
2017-09-03 02:04
#1
sudo apt purge vim
sudo apt install vim-gnome
Reply View the author
avatar
159******53
deepin
2017-09-03 05:55
#2
自己编译时候python2 和3 只能支持一个 支持两个就报错

https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source

cd ~
git clone https://github.com/vim/vim.git
cd vim
./configure --with-features=huge \
            --enable-multibyte \
            --enable-rubyinterp=yes \
            --enable-python3interp=yes \
            --with-python3-config-dir=/usr/lib/python3.5/config \
            --enable-perlinterp=yes \
            --enable-luainterp=yes \
            --enable-gui=gtk2 \
            --enable-cscope \
            --prefix=/usr/local
make VIMRUNTIMEDIR=/usr/local/share/vim/vim80
Reply View the author
avatar
159******53
deepin
2017-09-03 06:13
#3
http://www.jianshu.com/p/d908ce81017a?nomobile=yes
Reply View the author