Youcompleteme: YouCompleteMe unavailable: cannot import name 'GetCurrentDirectory'

Created on 13 Dec 2016  路  6Comments  路  Source: ycm-core/YouCompleteMe

OS: ubuntu 16.04.
build with python3.

Most helpful comment

For what it's worth, since this is the top result for that error on web searches, this is what I usually need to do (with YCM installed via git/pathogen):

{bash} cd ~/.vim/bundle/YouCompleteMe git clean -f git pull git submodule update --recursive --init ./install.py --clang-completer

All 6 comments

Please see CONTIBUTING.md

For what it's worth, since this is the top result for that error on web searches, this is what I usually need to do (with YCM installed via git/pathogen):

{bash} cd ~/.vim/bundle/YouCompleteMe git clean -f git pull git submodule update --recursive --init ./install.py --clang-completer

git submodule foreach git pull origin master

Wouldn't that mean that you're updating the submodule to the latest commit available on master even if we pinned to a specific version? I think that git submodule update --recursive --init should be used.

Yep, that's a better way. I'll change my comment.

@naught101 Your answer is awesome, perfectly solve my problem,thank you!

Please see CONTIBUTING.md

Can you explain why you think this is not an obvious bug in your build process?

Was this page helpful?
0 / 5 - 0 ratings