Using pyenv breaks YouCompleteMe (even when using the "system" Python with pyenv)

525 views
Skip to first unread message

dc...@cornell.edu

unread,
Jan 5, 2014, 5:56:24 PM1/5/14
to ycm-...@googlegroups.com

I've been having considerable difficulty getting YouCompleteMe and pyenv to cooperate. I'm currently running OS X, Homebrew, MacVim (installed via Homebrew), and Python 2.7.6 through pyenv.

First, I tried uninstalling MacVim, running "pyenv global system", re-installing MacVim, then recompiling YouCompleteMe. With this setup, I get the following error:

The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines):

Next, I tried running "pyenv global 2.7.6", uninstall MacVim, re-installing MacVim (under the assumption my local 2.7.6 will be linked), then re-compiling YouCompleteMe. I get the following error:

Vim: Caught deadly signal ABRT

Vim: Finished.
fish: Job 1, 'vim test.py' terminated by signal SIGABRT (Abort)
                                                               ⏎

Val Markovic

unread,
Jan 9, 2014, 3:44:30 PM1/9/14
to dc...@cornell.edu, ycm-...@googlegroups.com
The g:ycm_path_to_python_interpreter option might help you resolve this. Point it at the system python.


--
You received this message because you are subscribed to the Google Groups "ycm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ycm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ycm-users/3da26d51-c866-4921-9c7d-689b40243472%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Daniel Jaouen

unread,
Jan 9, 2014, 4:56:12 PM1/9/14
to Val Markovic, ycm-...@googlegroups.com
This seems to have worked.  Thanks, Val!
Reply all
Reply to author
Forward
0 new messages