美文网首页Vim
vim下jedi报错

vim下jedi报错

作者: 暂时还没有昵称2222 | 来源:发表于2016-05-16 17:58 被阅读1093次

如下提示:

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

相关文章

网友评论

    本文标题:vim下jedi报错

    本文链接:https://www.haomeiwen.com/subject/fvbbrttx.html