question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jedi-vim thinks I don't have jedi installed

See original GitHub issue

I checked out latest on master (d9a43db), and now when I open a Python file I get:

Error detected while processing /home/gfixler/.vim/bundle/jedi-vim/autoload/jedi.vim:
line  283:
Please install Jedi if you want to use jedi_vim.

I’ve done git submodule update --init in the .vim/bundle/vim-jedi directory, and git status shows nothing at all (so the submodule must be synced up), but it doesn’t help. If I go into that directory, enter python, and try to import jedi I get:

>>> import jedi_vim
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "./jedi_vim.py", line 11, in <module>
    import vim
ImportError: No module named vim

If, while in Vim I type :py import jedi_vim I get:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/gfixler/.vim/bundle/jedi-vim/jedi_vim.py", line 12, in <module>
    import jedi
ImportError: No module named jedi

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
davidhaltercommented, Jan 11, 2020

Do not install Jedi through pip. Install it with git submodule update --init --recursive.

If you install it with pip it won’t work properly with all virtualenvs.

0reactions
LarryMarzanJrcommented, Jan 10, 2020

install jedi module through pip. If using python 3 then use:

pip3 install jedi

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't get the jedi-vim plugin to work
This is the basic installation of Jedi with Pathogen. Install Pathogen mkdir -p ~/.vim/autoload ~/.vim/bundle && \ curl -LSso ...
Read more >
Not sure what this error message on Jedi Vim means... ...
I asked ChatGPT to pretend to be vim, by pretending to install it in a virtual linux machine it was pretending to be....
Read more >
Files · 221d7dbee4291aaf6d06648f2e1ec2eefef7611e · leger / jedi ...
The first thing you need after that is an up-to-date version of Jedi. You can either get it via pip install jedi or...
Read more >
help a beginner getting vim setup with YCM and Jedi
Vim is not hard to learn to use I dont think but building it into a work environment is really hard! Installing plugins...
Read more >
jedi-vim
Get the latest from `github <http://github.com/davidhalter/jedi-vim>`_. ... Don't even think about changing the Jedi command to ``<Tab>``, use `supertab ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found