neoclide / coc.nvim

Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Other
24.38k stars 954 forks source link

jedi error for python completion #3453

Closed Shuvadip-Ghosh closed 2 years ago

Shuvadip-Ghosh commented 2 years ago

This is the error I am facing [coc.nvim] Jedi error: Traceback (most recent call last): File "C:\Users\Shuvadip_Ghosh\AppData\Local\coc\extensions\node_modules\coc-python\pythonFiles\completion.py", line 696, in

This error pops up while staring to edit a python file followed by the error listed by

[coc.nvim] Jedi error: Traceback (most recent call last): [coc.nvim] Jedi error: import jedi^M

[coc.nvim] Jedi error: import jedi ModuleNotFoundError: No module named 'jedi'

[coc.nvim] Jedi error: import jedi

I have tried using "pip install jedi" but this doesn't work either I have tried editing my coc-settings.json files and putting my python interpreter explicitly but nothing works And I am also not getting autocompletion because of this. I am totally new to neovim so any help will be appreciated

And this is my neovim version and all NVIM v0.6.0-dev+544-g7ae86c1d4 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compiled by runneradmin@fv-az152-71

Features: -acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM\sysinit.vim" fall-back for $VIM: "C:/Program Files/nvim/share/nvim"

Run :checkhealth for more info

Shuvadip-Ghosh commented 2 years ago

Forgot to mention one thing I am not getting this when I am writing a python file in the directory which has the file init.vim and I am using windows 10 by the way

yaegassy commented 2 years ago

coc-python has been stopped to maintain, try coc-pyright or coc-jedi.

Shuvadip-Ghosh commented 2 years ago

I understand what you are saying but can you give me the reason for the auto complementation not working outside init.vim directory but working in that directory and I am using windows

On Tue, 2 Nov 2021, 6:23 pm Heyward Fann, @.***> wrote:

Closed #3453 https://github.com/neoclide/coc.nvim/issues/3453.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neoclide/coc.nvim/issues/3453#event-5555060496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUWYSWRYZGXMIQRXBK6NNM3UJ7NLPANCNFSM5HGLMOCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

chemzqm commented 2 years ago

No idea,.should be issue with language server you're using.