-
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
Error on start: Error detected while processing function youcompleteme#Enable..<SNR>80_SetUpPython #1652
Comments
Could you check if the file |
Suddenly it started to produce an error here as well, and I do have this file. |
Yes, that file exists. I'm still seeing this error. On Wed, Aug 26, 2015 at 4:12 AM, micbou notifications@github.com wrote:
|
Recompiling vim fixed that for me. |
I tried reinstalling vim before. After your response, I tried again. Still On Wed, Aug 26, 2015 at 10:38 AM, Nick Ostrovsky notifications@github.com
|
Does anyone have it working with Python 2.7.10? That's the version I have and I was wondering whether it has something to do with my problem. |
@dvinothkumar my version is this one on OS X, I have no issues. |
@dvinothkumar I have just built it today from tip by the way. |
Sorry I wish I could help. It just blew up after I came back from lunch, dunno maybe I did |
I too am having a very similar issue (OS X).
Loading with
|
I think it is because the version of python that was built into your Vim no longer exists. I recommend using the system Python on OS X, as that is what is tested by our Travis builds. Also, do you have |
Thank you. Yes, it was a Python installation issue. Python path was On Mon, Oct 5, 2015 at 10:28 AM, Ben Jackson notifications@github.com
|
I too had |
I think this is resolved by ensuring your |
can anyone point out how to check that value? |
anyone? |
Run |
I get blank..nothing.. what it should be? |
Type this command in Vim: :echo pyeval( 'paths.PathToPythonInterpreter()' ) and check if the Python path returned by this command is the right one. If not, set the variable |
micbou's suggestion fixed this for me:
|
#1652 (comment) no I don't see a file with that name inside that folder, I installed a fresh copy of vim and pulled latest changes from the YouCompleteMe repo, I compiled with clang support. I get the error when I execute And the errors in vim as shown in attachment image. |
@naveenpanwar is the file really there? what reading right does it have? can be read in vim? In short:
|
I meet the problem on Ubuntu 16.04, I reinstall vim from source solve the problem. |
Running ./install.sh inside the ~/.vim/bundle/YouCompleteMe folder fixed my problems. |
Uninstalling and installing
|
I solved my problem following this thread and adding: let g:ycm_path_to_python_interpreter="/usr/local/bin/python" in my .vimrc file. Thanks to all. |
Thank you joaquinalcerro. you are right. |
+1 to setting |
If I set that variable to |
I solve this problem also. I think just python path error. |
I encountered the same problem. But I remembered that I rewrap the python packages with brew some how and then the problem occurred. So a straightforward thought is that it is the path that caused the problem. A simple fix is to re-compile your vim. I did so and dang, the problem solved. |
let g:ycm_path_to_python_interpreter="/usr/bin/python" that's works for me! |
Most answers in that thread are outdated or unhelpful. Firstly, the |
I get this error, when starting gvim. This looks very similar to the issue #1281 at #1281. People in that thread reported that doing "git submodule update --init --recursive" fixed the issue. But not for me. I'd appreciate if someone can help me with this.
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
Traceback (most recent call last):
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
File "", line 25, in
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
File "/root/.vim/bundle/YouCompleteMe/autoload/../third_party/ycmd/ycmd/utils.py", line 277, in SafePopen
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
return subprocess.Popen( _args, *_kwargs )
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
File "/usr/local/lib/python2.7/subprocess.py", line 710, in init
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
errread, errwrite)
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
File "/usr/local/lib/python2.7/subprocess.py", line 1335, in _execute_child
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
raise child_exception
Error detected while processing function youcompleteme#Enable..80_SetUpPython:
line 34:
OSError: [Errno 2] No such file or directory
The text was updated successfully, but these errors were encountered: