从源代码编译的VIM无法重新编译python,YouCompleteMe不可用:要求Vim使用Python(2.6+或3.3+)支持编译

时间:2016-11-13 10:32:11

标签: python vim youcompleteme

我想在ubuntu 14.04上设置我的vim与YCM一起工作。按照安装说明,我重新确认14.04上的本机vim不支持YCM,因此我完全按照如何从源here安装vim的说明,也将python config-dir更改为正确的。

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 13 2016 11:04:57)
Included patches: 1-82
Compiled by ...@ubuntu
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     -tcl
+balloon_eval    +folding         +mouse_xterm     +termguicolors
+browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     +gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
+clientserver    +insert_expand   +packages        +toolbar
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        -perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python/dyn      +vreplace
+cscope          +lispindent      +python3/dyn     +wildignore

似乎安装了对python的正确支持?我现在已经尝试了多次,但我无法让它发挥作用。不过,当我打开vim时,我收到了这个错误:

YouCompleteMe unavailable: requires Vim compiled with Python (2.6+ or 3.3+) support

0 个答案:

没有答案