vim-jedi autocomplete not working

jedi-vim, python, vim

Solution

Because this line was in my .vimrc:

autocmd FileType python setlocal omnifunc=pythoncomplete#Complete

I could not use jedi for a long time. When removed it, it's OK.

:set omnifunc
omnifunc=jedi#completions

Problem

I just installed jedi-vim with vundle My vim version is 7.3.429. I installed jedi vi pip every time I hit `.` or `<C-Space>` I get this error. ``` Omni completion (^O^N^P) Pattern not found ``` when I searched here for this pattern I found a solution to use vim-jedi instead. But unfortunatelly this occours with jedi-vim. Here is some output of some registers: `:set omnifunc` `omnifunc=jedi#complete` `:messages` ``` Messages maintainer: Bram Moolenaar <Bram@vim.org> "models.py" 31L, 1052C <emptyline> ```

Original source