I'm using YouCompleteMe to do omni complete.

Most of these are fine. But when I want to complete Python3, there is something wrong. It only can complete python2.

For example,

import urllib # Python2 & Python3 mod


I want to complete to urllib.request.Request, but the completion menu doesn't have it. It is the same as Python2's urlopen. (In Python3, it is urllib.request.urlopen, but now is urllib.urlopen.)

I have installed jedi with both pip and pip3 ( import jedi can be done in Python3 and Python2 )

I also have set let g:ycm_python_binary_path = '/usr/local/bin/python3' in .vimrc.

But it seems to have no effect.

  • When did you last update YCM?
    – muru
    Commented Feb 26, 2016 at 13:37
  • @muru Last month
    – Vonfry
    Commented Feb 26, 2016 at 13:40
  • Python3 completion support was also added last month, so perhaps your last update was before that? If it wasn't, please report it as an issue on YCM's Github issue tracker.
    – muru
    Commented Feb 26, 2016 at 13:49
  • @muru Let me update it again. If it has the same problem, I will report it..Thanks
    – Vonfry
    Commented Feb 26, 2016 at 13:51

1 Answer 1


I tried to update YCM and recompile it.

Now, it is fine.

Python3 support was added for last month and I just updated YCM last month.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.