如下提示:
Error detected while processing /Users/xyz/.vim/bundle/jedi-vim/autoload/jedi.vim:
line 294:
Traceback (most recent call last):
File "/Users/xyz/.vim/bundle/jedi-vim/initialize.py", line 22, in <module>
import jedi_vim
File "/Users/xyz/.vim/bundle/jedi-vim/jedi_vim.py", line 13, in <module>
import jedi
ImportError: No module named 'jedi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/xyz/.vim/bundle/jedi-vim/initialize.py", line 24, in <module>
vim.command('echoerr "Please install Jedi if you want to use jedi_vim."')
vim.error: Vim(echoerr):Please install Jedi if you want to use jedi_vim.
E171: Missing :endif
Error detected while processing /Users/xyz/.vim/bundle/jedi-vim/ftplugin/python/jedi.vim:
line 8:
E121: Undefined variable: g:jedi#auto_initialization
E171: Missing :endif
Press ENTER or type command to continue
使用python3安装的vim(macvim)
解决方案:
pip3 install jedi