You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble calling elpy-goto-definition with M-. , either prompts "Visit tags table" or complains "This feature requires the 'jedi' package to be installed, depending on whether I press M-. or call elpy-goto-definition directly, although elpy-config seems fine.
Steps to reproduce
If I press "M-." I see a prompt of "Visit tags table (default TAGS): current-folder-name"
If I call describe key "M-.", it is bounded to "xref-find-definitions", and if I type "M-x xref-find-definitions" I see the same prompt as above.
If I type "M-x elpy-goto-definition". The message complains "This feature requires the 'jedi' package to be installed. Please check 'elpy-config' for more information. However when I run elpy-config everything seems fine. And I can indeed 'import jedi' from the virtualenv I am using.
M-. used to work for me but I must have changed something and now I don't know how to make it work again.
This may be the same as the issues here #1795 #1771
My configuration
OS
Debian 9
Result of (elpy-config)
Elpy Configuration
Emacs.............: 26.3
Elpy..............: 1.32.0
Virtualenv........: (/nas/local/simscripts/hera/.nest/mi20200626/)
Interactive Python: python 3.6.10 (/nas/local/simscripts/hera/.nest/mi20200626/bin/python)
RPC virtualenv....: rpc-venv (/home/hera/.emacs.d/elpy/rpc-venv)
Python...........: /nas/local/simscripts/hera/.nest/mi20200626/bin/python 3.6.10 (/nas/local/simscripts/hera/.nest/mi20200626/bin/python)
Jedi.............: 0.17.1
Rope.............: 0.17.0
Autopep8.........: 1.5.3
Yapf.............: 0.30.0
Black............: 19.10b0
Syntax checker....: flake8 (/nas/local/simscripts/hera/.nest/mi20200626/bin/flake8)
Warnings
Options
`Raised' text indicates buttons; type RET or click mouse-1 on a button
to invoke its action. Invoke [+] to expand a group, and [-] to
collapse an expanded group. Invoke the [Group], [Face], and [Option]
buttons below to edit that item in another window.
[+]-- Group Elpy
[+]-- Group Python
[+]-- Group Virtual Environments (Pyvenv)
[+]-- Group Completion (Company)
[+]-- Group Call Signatures (ElDoc)
[+]-- Group Inline Errors (Flymake)
[+]-- Group Code folding (hideshow)
[+]-- Group Snippets (YASnippet)
[+]-- Group Directory Grep (rgrep)
[+]-- Group Search as You Type (ido)
[+]-- Group Django extension
[+]-- Group Autodoc extension
The text was updated successfully, but these errors were encountered:
njheyu
changed the title
elpy-goto-definition is broken, although elpy-config seems fine
elpy-goto-definition is broken, asks for jedi, although elpy-config shows jedi is installed
Jul 8, 2020
Summary
I am having trouble calling elpy-goto-definition with M-. , either prompts "Visit tags table" or complains "This feature requires the 'jedi' package to be installed, depending on whether I press M-. or call elpy-goto-definition directly, although elpy-config seems fine.
Steps to reproduce
If I press "M-." I see a prompt of "Visit tags table (default TAGS): current-folder-name"
If I call describe key "M-.", it is bounded to "xref-find-definitions", and if I type "M-x xref-find-definitions" I see the same prompt as above.
If I type "M-x elpy-goto-definition". The message complains "This feature requires the 'jedi' package to be installed. Please check 'elpy-config' for more information. However when I run elpy-config everything seems fine. And I can indeed 'import jedi' from the virtualenv I am using.
M-. used to work for me but I must have changed something and now I don't know how to make it work again.
This may be the same as the issues here
#1795
#1771
My configuration
OS
Debian 9
Result of
(elpy-config)
Elpy configuration in my init.el
The text was updated successfully, but these errors were encountered: