Problems installing YCM using Vundle

137 views
Skip to first unread message

Álvaro

unread,
Mar 7, 2018, 11:00:48 PM3/7/18
to ycm-users

When running :PluginInstall it gets stuck several minutes on the YouCompleteMe Plugin and then it produces the following output:

[Vundle] Installer [Preview][RO]                                 11,0-1         All [No Name]                                                        0,0-1          All
Traceback (most recent call last):
  File "<string>", line 22, in <module>
  File "/home/
hereausername/.vim/bundle/YouCompleteMe/autoload/../python/ycm/base.py", line 25, in <module>
    from future.utils import iteritems
ImportError: No module named 'future'
YouCompleteMe unavailable: No module named 'future'
Press ENTER or type command to continue


I try to install by going to ~/.vim/bundle/YouCompleteMe
and running
./instal.py

but I get

ERROR: some folders in /home/hereausername/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party are empty; you probably forgot to run:
    git submodule update --init --recursive


Any help? I am getting discouraged... : (



OS:Ubuntu 16.04
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Included patches: 1-1689
Extra patches: 8.0.0056
Modified by pkg-vim-m...@lists.alioth.debian.org
Compiled by pkg-vim-m...@lists.alioth.debian.org
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
-balloon_eval    +float           +mouse_urxvt     -tcl
-browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         +gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
-clientserver    +iconv           +packages        -toolbar
-clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             -perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      +python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            -ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        +mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax         
   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/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     
Linking: gcc   -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl     -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm  


Vundle section of vimrc

call vundle#begin()

" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
 
" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)

" ...

Plugin 'tmhedberg/SimpylFold'

" Correcting auto indent for special cases (e.g. long function signatures)
Plugin 'vim-scripts/indentpython.vim'

" Autocompletion
Bundle 'Valloric/YouCompleteMe'

" Check Syntax
Plugin 'vim-syntastic/syntastic'

" Check PEP8
Plugin 'nvie/vim-flake8'

Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'

" All of your Plugins must be added before the following line
call vundle#end()    


mbo...@gmail.com

unread,
Mar 7, 2018, 11:21:26 PM3/7/18
to ycm-users
Vundle probably failed to complete the plugin installation. Run the command


git submodule update --init --recursive

in ~/.vim/bundle/YouCompleteMe folder and try again the install.py script.

Reply all
Reply to author
Forward
0 new messages