YouCompleteMe unavailable: requires Vim compiled with Python (2.7 or 3.4+) support.
在ubuntu环境上
vim编译 也加了启用python但还有问题
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-pythoninterp=yes \
--with-python3-command=python3 \
--enable-python3interp=yes \
--with-python3-config-dir=/usr/bin/python3-config \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-cscope \
--prefix=$vim_home
--with-python3-config-dir 和 --with-python-config-dir=/usr/bin/python2.7-config 只能使用一个不能两个都使用。
参考:https://www.jianshu.com/p/020a2d5d9637
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。