-
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
YouCompleteMe does not work with Anaconda Python #1241
Comments
Only the official Python distributions are supported. Thank you for reporting this though; hopefully it will help people searching on Google. |
This helped me, thank you. |
Ah yes, fix works. Thanks. |
NOTE: When compiling YCM, ensure that 'which python' is pointing to /usr/bin/python as well. |
Not working anymore. Using latest macvim, YMC. First compile YMC with default python Second I add anaconda to |
YCM was working for me until I installed anaconda2 (which comes with python). Vim wouldn't load at all (would get As anaconda adds After this I just compiled YCM again, and it started working again. |
We have to separate the errors:
Using the |
I was able to get ycm to compile with anaconda. Anaconda's libpython3.5m.dylib uses relative paths instead of absolute paths (on OSX). See https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/fUpqjkK5jEI First make macvim and ycm compile with the anaconda interpreter. Then I used the following: |
@damca, I use miniconda2, that makes no different with anaconda. But I get errors like this
The solution does not help. Do you have any suggestions? |
I've had success using YouCompleteMe under the Linux Subsystem in Windows 10 Insider Preview like this:
|
Thanks for your detailed response! It seems my version is not exactly as yours. I can install the plugin, but when I start vim it shows the error message as above. Thanks! CF |
If you have recently installed I have encountered this problem yesterday, and I spent a WHOLE DAY searching for the error message, but in vain, until I accidentally tried to search Finger crossed. |
Workaround for Anaconda/Miniconda + YouCompleteMe users (Those who are getting server shutdown errors). Here is how I fixed it (Tested on Mac using Macvim and ubuntu 16.06 using vim). Make sure all the environment variables in Delete the directory Goto Change the environment variables Thanks |
An alternative, specify the PATH variable explicitly for vim using an alias, e.g., |
I had the same issue. For me worked even simpler solution. I haven't changed any env variables, etc. I've just run the YCM installer using default python. After this - no longer "server restart" message :)
|
@k-lyda Yes, that should work for everyone, as it's just building with the system's python and is what we test, support and claim to work. With that and considering there's an FAQ entry about this, I'll lock this thread. |
This is just a note for anybody who might be having the same issue.
I have Anaconda Python installed and the PATH is changed so that that is my default python interpreter. YCM cannot work. I just got server shutdown message, there is no debug or log information that I could get. However, after randomly trying to explicitly set the python interpreter of YCM to the system one, it started working again:
The text was updated successfully, but these errors were encountered: