0
我試圖爲vim安裝YCM,並且已經安裝了vundle。所以我使用:PluginInstall來安裝YCM。現在我正在關注這一步。試圖爲vim安裝YouCompleteMe
編譯YCM與C家族語言的語義支持:
cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
當我到了目錄,然後進行第二個命令我得到錯誤:
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 <module>
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
當我做蟒蛇-V我得到
Python 3.5.2 :: Anaconda 4.1.1 (64-bit)
我安裝YCM加入
Plugin 'valloric/YouCompleteMe'
了〜./。vimrc文件
我使用Ubuntu 15.04它通過defalut過的Python 2.7和我明確安裝anaconda3和python3。
請幫忙。
YCM問題跟蹤器是[這種方式](https://github.com/Valloric/YouCompleteMe/issues)。 –