Trying to install YouCompleteMe for vim
<p>I was trying to install YCM for vim and I already have vundle installed. So I used :PluginInstall to install YCM. Now I am following this step.</p>

<p>Compiling YCM with semantic support for C-family languages:</p>

<pre><code>cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
</code></pre>

<p>when i reach the directory and do the second command I get error:</p>

<pre><code>Some folders in /home/shubham/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party are empty; you probably forgot to run:
    git submodule update --init --recursive


Traceback (most recent call last):
  File "./install.py", line 44, in &lt;module&gt;
    Main()
  File "./install.py", line 33, in Main
    subprocess.check_call( [ python_binary, build_file ] + sys.argv[1:] )
  File "/home/shubham/anaconda3/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/shubham/anaconda3/bin/python', '/home/shubham/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py', '--clang-completer']' returned non-zero exit status 1
</code></pre>

<p>When I do python -V i get</p>

<pre><code>Python 3.5.2 :: Anaconda 4.1.1 (64-bit)
</code></pre>

<p>I installed YCM by adding </p>

<pre><code>Plugin 'valloric/YouCompleteMe'
</code></pre>

<p>to the ~./.vimrc file</p>

<p>I am using Ubuntu 15.04 which by defalut had Python 2.7 and I explicitly installed anaconda3 and python3.</p>

<p>Please Help.</p>