Questions tagged [jedi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
2k views

Autocomplete after dot in python

I haven't used emacs before, but would like to learn how to use it properly for Python development. From the past IDEs I have used I enjoyed the feature to obtain information on possible objects ...
0 votes
0 answers
41 views

lsp-jedi debugging

I've encountered issues with lsp-jedi apparently sending a bad message to jedi-language-server which causes an Invalid Params error in Pythons pygls. Having sought assistance from the author(s) of ...
1 vote
1 answer
397 views

Company duplicates

I use gtags, jedi and dabbrev for python. Sometimes the duplicates get a bit annoying. I read that using :with should sort out the duplicates problem. However, it does not... Is there a better ...
1 vote
1 answer
48 views

How to improve ‘jedi‘ package's load time

When I try to use jedi package I get following message in the minibuffer. This feature requires the ‘jedi‘ package to be installed. Please check ‘elpy-config‘ for more information. Elpy Configuration ...
2 votes
0 answers
396 views

Jedi fails to start Jedi EPC Server because python 3.8 is installed and 3.7 not

Is the only solution to downgrade python 3.8 to 3.7 or wait till it is supported? Or are there other options? The error message is this: Error (jedi): ================================ Failed to start ...
1 vote
0 answers
311 views

elpy-goto-definition doesn't work when jedi:goto-definition does work

After installing a fresh install of emacs on a coworkers machine, I got elpy setup with all the correct packages according to elpy-config but elpy-goto-definition always returns 'No definition found'. ...
1 vote
1 answer
449 views

Can company-mode show the doc of the functions?

I am using company-mode for backends to auto-complete in Python and emacs is used as command line. (add-hook 'after-init-hook 'global-company-mode) (setq company-auto-complete t) (setq company-auto-...
1 vote
0 answers
528 views

elpy - This feature requires the ‘jedi‘ package to be installed

I am getting following error when I do M-x elpy-goto-definition, even though I have installed jedi. I have followed following answer and this one. Error message: This feature requires the ‘jedi‘ ...
4 votes
4 answers
2k views

Emacs 25.1 & Python 3.6.0 Integration [Newbie]

Preface: I've been dabbling with python programming for a mere few months now. Previously, I spent most of my programming time using C# with Visual Studio. In the Python world, I've been using ...
0 votes
1 answer
213 views

How could I change the font color on the popped out window (jedi)?

I am using python-mode and jedi for autocompletion. (add-hook 'python-mode-hook 'jedi:setup) (add-hook 'python-mode-hook 'jedi:ac-setup) (require 'auto-complete-config) (ac-config-default) (set-face-...
0 votes
0 answers
88 views

jedi with ein does not work

While Jedi works in python mode, it does not in ein (jupyter-notebook). If I run jedi:setup manually, both of jedi and auto-complete get listed among minor modes. I use emacs 25.1.1 on Debian. I use ...
2 votes
0 answers
171 views

Elpy auto-complete gives incomplete suggestions

I am trying to use Elpy for Emacs to write Python programs. The auto-complete feature suggests all attributes of PyQt5 classes, but suggests only a subset of the attributes of instances of these ...
3 votes
0 answers
60 views

xref gets confused by similar class names

If I use evil-jump-to-tag or xref-find-defintions on an inherited class module whose name is the same as a class in my current project, I am taken to the definition in the current project. I would ...
1 vote
0 answers
165 views

Jedi doesn't work properly with PyQt5

I have auto-complete and jedi installed and everything works just fine except autocompletion in PyQt5. When i try to subclass for example QWidget and in the __init__ method I type self and then press ...
0 votes
1 answer
4k views

Emacs Company-Jedi Python3 auto completion

I am trying to setup company-jedi to autocomplete for python3. The autocomplete is working for standard python3 modules; however, it is not working for packages I installed using pip3, in this case ...
3 votes
1 answer
233 views

Errors in python buffer when type docstrings

When I type any text in docstring I've got an exception right at cursor place. May be it's some python-mode.el addon, I don't know. How should I fix it? I use company-jedi and python-mode.el.
3 votes
0 answers
170 views

How to connect to remote python with jedi.el?

How can I connect to remote python with jedi.el? I need to use remote virtualenv for getting possible completions, docs, etc.
3 votes
0 answers
267 views

Automatically use appropriate Python version with Jedi.el

Documentation says that it can be done by making some variables buffer local. But how to make it correctly? Can somebody show me example how to configure this jedi.el behaviour correctly? Now I have ...
0 votes
2 answers
472 views

Python definitions not found by Jedi

Consider the following very simple Python project tree: . ├── main.py └── second.py main.py: import second as s def foo(arg): arg.helloWorld() foo(s) second.py: def helloWorld(): print("...
2 votes
1 answer
2k views

Spacemacs: Company-Anaconda doesnt work

I recently installed Spacemacs and am new to it. 0.200.2@24.5.2 (spacemacs) / 14.04 Ubuntu same problem with 0.200.2@26.0.50.2 (spacemacs) / 14.04 Ubuntu Syntax Checking etc. is working fine, but ...