Questions tagged [jedi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
4answers
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 ...
3
votes
1answer
169 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
0answers
47 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 ...
3
votes
0answers
147 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.
2
votes
0answers
232 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 ...
1
vote
0answers
57 views

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

Are the only solutions 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 ...
1
vote
0answers
126 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 ...
1
vote
2answers
369 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 ...
1
vote
0answers
138 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 ...
1
vote
0answers
215 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
1answer
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 ...
0
votes
1answer
18 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
1answer
3k 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 ...
0
votes
2answers
359 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("...
0
votes
0answers
88 views

Jedi EPC server - make client process fails

Recently my Emacs/Python setup stopped working as it had done previously without any problem. I have the following defining where my virtual environments are in my init files... (setq venv-location (...
0
votes
0answers
43 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 ...