我的vim to python 3设置出了点问题,当我输入:py3 import sys; print(sys.version)
时,我发现了一个完全崩溃的东西:
Vim: Caught deadly signal ABRT...
*** glibc detected *** /usr/local/bin/vim:
corrupted double-linked list: 0x00000000015f9a50 ***.
我有一个功能非常强大的Anaconda python安装,下面是:ver
。我不知道如何开始试图找出问题所在:
:ver
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 10 2015 12:03:17)
Included patches: 1-891
Compiled by root@ip-10-239-197-136
Huge version without GUI. Features included (+) or not (-):
+acl +clientserver +cscope +emacs_tags +folding +keymap +menu +mouse_netterm +netbeans_intg +python3 -sniff -tcl +virtualedit +writebackup
+arabic +clipboard +cursorbind +eval -footer +langmap +mksession +mouse_sgr +path_extra +quickfix +startuptime +terminfo +visual +X11
+autocmd +cmdline_compl +cursorshape +ex_extra +fork() +libcall +modify_fname -mouse_sysmouse -perl +reltime +statusline +termresponse +visualextra +xfontset
-balloon_eval +cmdline_hist +dialog_con +extra_search +gettext +linebreak +mouse +mouse_urxvt +persistent_undo +rightleft -sun_workshop +textobjects +viminfo -xim
-browse +cmdline_info +diff +farsi -hangul_input +lispindent -mouseshape +mouse_xterm +postscript -ruby +syntax +title +vreplace +xsmp_interact
++builtin_terms +comments +digraphs +file_in_path +iconv +listcmds +mouse_dec +multi_byte +printer +scrollbind +tag_binary -toolbar +wildignore +xterm_clipboard
+byte_offset +conceal -dnd +find_in_path +insert_expand +localmap -mouse_gpm +multi_lang +profile +signs +tag_old_static +user_commands +wildmenu -xterm_save
+cindent +cryptv -ebcdic +float +jumplist -lua -mouse_jsbterm -mzscheme -python +smartindent -tag_any_white +vertsplit +windows -xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lSM -lICE -lm -ltinfo -lnsl -lselinux -L/ebs/anaconda3/lib/python3.4/config-3.4m -lpython3.4m -lpthread -ldl -lutil -lm
答案 0 :(得分:0)
您使用的是什么操作系统?如果是基于 debian 的 linux 发行版,请通过终端安装以下软件包,它可能会工作
sudo apt install vim-gtk
对于其他发行版,包管理器可能会有所不同,但请尝试安装包 vim-gtk 并查看是否可以解决问题