This repo works for pyenv version of python. You also have to add this to .vimrc `let g:ycm_path_to_python_interpreter = '/Users/ldong/.pyenv/shims/python'`