coc-python
coc-python copied to clipboard
RuntimeError related to Jedi version being too old
Result from CocInfo
versions
vim version: NVIM v0.4.3 node version: v14.3.0 coc.nvim version: 0.0.78-263ec93b2c coc.nvim directory: /Users/edmund/.config/nvim/bundle/coc.nvim term: iTerm.app platform: darwin
Output channel: prettier
Output channel: Python
Starting Jedi Python language engine. ##########Linting Output - pylint##########
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
##########Linting Output - pylint##########
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
Describe the bug
Calling the jump to definition function triggers a Runtime Error
[coc.nvim] Jedi error: Traceback (most recent call last):
[coc.nvim] Jedi error: raise RuntimeError("Jedi version %s too old, requires >= 0.17.0" % (jedi.__v
ersion__))
[coc.nvim]: Error on notification "jumpDefinition": getDefinition timeout after 5s
Press ENTER or type command to continue
To troubleshoot, I updated the extension, plugin and plugin-manager. ... to no avail.
I then tried to uninstall the coc-python
extension and received the following error
[coc.nvim] Uninstall failed: item.dispose is not a function
I tried to use the vim mini configuration, but it did not seem load the coc extension despite pointing it to the directory printed in the CocInfo output.
From what I have deduced, I'm not sure the Jedi script is being updated with the coc-python
extension. Is that possible? Is there a way to manually update Jedi? (despite the docs that say not to update directly). Is there something wrong with Jedi?
Update
Everything works as expected when I replace Jedi with the MS language server with the setting "python.jediEnabled": false,
in my config.
- E
same problem, I‘ve updated jedi,but still “Jedi version %s too old“
same problem here
same on WSL 1 and ubuntu 8.2
Same issue on Pop!_OS 20.04.
Solved by updating python. No other solution worked
Il lun 7 set 2020, 22:52 Jordan Bucholtz [email protected] ha scritto:
Same issue on Pop!_OS 20.04.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/neoclide/coc-python/issues/236#issuecomment-688507686, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACG2GHFVNZ7G4FJOZECZZ73SEVB2LANCNFSM4OGIFAFA .
Same issue on ubuntu 20.04... Is this a problem with Jedi or coc?
If you are using virtual environment run "pip freeze" command and check jedi version in your project. It might differ from version you have installed globally.