Due to the new System Integrity Protection (SIP) mechanism which is introduced with OSX 10.11 El captain,
pip is nearly scrapped unless disable the SIP. However, if you are a python 3.X supporter who never use python 2.X again, you can simply install pyhon 3.X via Homebrew and skip this post.
But for most people, especially for who uses YCM, python 2.X is a necessity.
If you want to use python 2.X which is installed via homebrew, and want it to cooperate with YCM. You may encounter such a problem that vim could suddenly exit with an error message – ‘Vim: Caught deadly signal ABRT’.
This problem is discuss HERE, and I found the successful solution which resolved my problem.
- Uninstall vim via
brew uninstall vimcommand, this is a compulsory step. You have to unintall vim before the successive steps.
- If you have install python 2.X via homebrew, unintsall it!
- Install python:
brew install python --framework.
- Install Vim:
brew install vim.
- Reinstall your Vim plugins via vundle.
- Re-compile your YCM:
python ./install.py --clang-completer.
- Enjoy it!
Share Link: http://d0u9.win/posts/3956846196.html