5

i am trying to install the YouCompleteMe Plugin in vim using Vundle but i get this error message : YouCompleteme unavailable : no module named future

i have vim 7.4.1910 and python 3.5.2 but i don't know if vim was built to support python3

Kadhem Ouerghi
  • 103
  • 1
  • 5

2 Answers2

8

its that your modules are not updated or future module is not found. to fix this. if you are using ubuntu then first go to

$ cd ~/.vim/bundle/YouCompleteMe && git submodule update --init --recursive

this will update all the modules in youcompleteme

Sumithran
  • 6,217
  • 4
  • 40
  • 54
zabusa
  • 2,520
  • 21
  • 25
  • 1
    Also running the `install.py` script in the YouCompleteMe folder helped for me – gitaarik Jun 27 '19 at 10:17
  • I had to do both: `cd ~/.vim/bundle/YouCompleteMe ; git submodule update --init --recursive` and `./install.py`. Then everyone was fine. – TheZeke Oct 14 '20 at 23:10
4

I had the same issue and fixed it by running pip install future. You may have to do this with sudo.

pandita
  • 4,739
  • 6
  • 29
  • 51