PYTHONOF error while using jedi-vim

318 Views Asked by At

if you get a

E492: Not an editor command: Python << PYTHONEOF

or a

import jedi
ImportError: No module named jedi
1

There are 1 best solutions below

1
On

go into your /jedi-vim folder and run git submodule update --init

also add

if has('python')
    command! -nargs=1 Python python <args>
else
    command! -nargs=1 Python python3 <args>
end

to jedi-vim/autoload/jedi.vim