针对你遇到的问题“youcompleteme unavailable: requires vim compiled with python (3.6.0+) support”,以下是一些解决步骤: 确认Vim版本和Python支持: 首先,你需要确认当前使用的Vim版本是否支持Python 3.6.0+。可以通过在Vim中输入以下命令来检查: vim :echo has('python3')
解决此问题,编译一个支持python的vim即可 参考vim 官方文档,不用再倒腾那一堆参数和路径 根据github.com/vim/vim/blob git clone https://github.com/vim/vim.git cd vim/src make 此时,在`vim/src`下有Makefile vi Makefile 删去 CONF_OPT_PYTHON3 = --enable-python3interp 前的‘#’号 要支持python...
VIM的YouCompleteMe插件报错:YouCompleteMe unavailable: requires Vim compiled with Python (3.6.0+) support. Alpha 7 人赞同了该文章 声明:纯原创,网上的文章全是错的,至少无法解决我的centOS7、vim8下这个报错 不废话,解法就是必须重新编译vim,configure如下: ./configure --with-features=huge --enable-pytho...
gitclonecdvim 1. 2. 配置Vim的编译选项 执行以下命令配置Vim的编译选项: ./configure --with-features=huge\--enable-multibyte\--enable-rubyinterp=yes\--enable-python3interp=yes\--with-python3-config-dir=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu\--enable-perlinterp=yes\--enable-luainter...
说明vim没有python支持。于是clone了vim源码,使用 ./configure --enable-multibyte --enable-pythoninterp=yes 配置后重新安装编译 中途出现了一个小插曲,发现 no terminal library found checkingfortgetent()… configure: error: NOT FOUND!You need toinstalla terminal library;forexample ncurses. ...
vim--version|grep+python 1. You should now see a “+python” or “+python3” in the output. 4. Update Vim Configuration If you have successfully compiled Vim with Python support, but the error still occurs, you may need to update your Vim configuration. Add the following lines to your...
问题: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...
YouCompleteMe unavailable: requires Vim compiled with Python (3.5.1+) support. 查了一些方法,包括重新brew install vim 了一下,依旧没有正常。 猜测可能是因为没有用python3编译的原因 故如下 cd ~/.vim/plugged/youcompleteme sudo python3 ./install.py --clang-completer ###使用此命令可只用C语言的补全...
451 #CONF_OPT_PYTHON3 = --enable-python3interp=dynamic 做如上操作,然后make 再make install操作。 发现vim后还是有提示,requires Vim compiled with Python (2.6+ or 3.3+) support。 找了好久才发现,原来还要将 /usr/local/bin/vim sudo cp 到 /usr/bin/vim 下,这才ok!
After I updated my vim to 8.0 I got this error, and YCM stopped working for me, I don't know if it's maybe not up to date with the current vim version and if there's something I can do to remedy it. I also usepathogento install my vim plugins and it's up to date. ...