-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named ycm_core #1707
Comments
Try moving the global |
still cannot solve this problem |
I am closing because you did not tell us what you are trying to achieve and the reported issue is not actually an issue. |
I use this command can fix this bug |
@broccolii Thanks! Your solution works for me. |
@broccolii Thank you very much! |
I'm trying to understand why people are coming across this. First, of course it isn't a bug. Second, I thought that when this happened we issued a message saying that installation was required. Are people not getting that message? |
I've been wondering if it just me or is the message not showing. I've just tried making a clean clone of the YCM repo and starting YCM without compiling. As expected the message was not shown anywhere. Actually the message is in stderr, but is not shown unless user explicitly opens the stderr log. |
@bstaletic you should get the message as soon as YCM is needed. So if you didn't run the compilation step, after you type a couple of character you should get the error. |
@vheon Fair enough. I tried it again, this time typing more than enough characters, using The only message I've got is:
That was after The desired
was nowhere to be seen, except in the |
@bstaletic And nothing in |
|
@micbou I think we should make the "compile ycmd message" more clear: #1652 (comment) |
Ok, the problem is the documentation in Full Installation isn't very clear how to behave with the ./install.sh I mean: I ve built and compiled as the author of the issue in ycm_build, following the guide, step by step. Then it says 'you have done', without any reference to ./install.sh, furthermore during install.sh it downloads the libclang which I already download for the installation! |
The docs are pretty clear: Compiling YCM with semantic support for C-family languages: cd ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle/YouCompleteMe C# support: install Mono and add --omnisharp-completer when calling ./install.py. cd ~/.vim/bundle/YouCompleteMe |
Running on 4.13.0-39-generic GNU/Linux Getting the same error, that the ycm_core cannot be imported. Ran install.py with --clang-completer flag. Not really sure what to do. I've rebuilt several times. The error message in the log files says I should run build.py, specifically:
I don't see build.py in ycm's home dir, and I don't see anything about it in the docs... |
It's better to open a new thread and provide all the requested info. Or even ask on gitter. |
the same with you , I ran install.py --clang-completer but mentiond ERROR -ycm_core library not detected ......, really troubles me |
@sshsu My guess is that you are experiencing this dein issue. I am locking this thread as the most upvoted answer boils down to following the instructions in the docs which seems common sense to me. |
Hi, all:
I install the ycm success:
Then i add the code into my .vimrc:
but it has no effect. When i try to run the .ycm_extra_conf.py, some errors occurs:
But the ycm_core was install success at the first compile
The text was updated successfully, but these errors were encountered: