Open gmankab opened 3 months ago
Could you try to do :UpdateRemotePlugins
again?
this is giving me error like this i have done the UpdateRemotePlugins but not working and i have stored the api in .zshrc but still the same error
What version of pynvim are you using?
I am also having the same issue and have already done the UpdateRemotePlugins but the issue still remains
google-generativeai 0.5.3
pynvim 0.5.0
What version of pynvim are you using?
Latest version installed by the script
Can you provide a minimum nvim config to replicate the issue?
That function is implemented in python, but somehow it's not registered in your setting. UpdateRemotePlugins
should have registered it, but there might be something else interfering it.
I have the same problem, I am just a user of lazynvim so I don't know how it works and all configuration files.
But I noticed that nvim-data\rplugin.vim
has no python3 plugin, in fact the file is almost empty (only comments). Don't know if this is related.
Thanks
I had similar problems and ithe thing that worked for me was the following. You need to run :UpdateRemotePlugins
. But that call failed for me. And the reason it failed was because python3 provider was disabled in my Neovim config. I had this line in my config:
vim.g.loaded_python3_provider = 0
Also, I did ensured pynvim Python package is installed, not sure if it is needed, but I do have it.
So, to summarize:
pip3 install pynvim
:lua =vim.g.loaded_python3_provider
outputs something other than 0. If so, check your configs and find where it is set to 0 and remove that.:UpdateRemotePlugins
. This will install "gemini" remote provider.I had similar problems and ithe thing that worked for me was the following. You need to run
:UpdateRemotePlugins
. But that call failed for me. And the reason it failed was because python3 provider was disabled in my Neovim config. I had this line in my config:vim.g.loaded_python3_provider = 0
Also, I did ensured pynvim Python package is installed, not sure if it is needed, but I do have it.
So, to summarize:
- Ensure pynvim is installed by runnning
pip3 install pynvim
- Ensure that Python3 provider is not disabled in Neovim config (check that
:lua =vim.g.loaded_python3_provider
outputs something other than 0. If so, check your configs and find where it is set to 0 and remove that.- Run
:UpdateRemotePlugins
. This will install "gemini" remote provider.
Thanks for suggestions, I followed all steps but unfortunately this did not work. This is the result of UpdateRemotePlugins, is it normal?:
remote/host: python3 host registered plugins []
remote/host: generated rplugin manifest: C:\Users\pnnp\AppData\Local\nvim-data/rplugin.vim
The rplugin.vim is empty (not considering comments) Thanks
remote/host: python3 host registered plugins [] remote/host: generated rplugin manifest: C:\Users\pnnp\AppData\Local\nvim-data/rplugin.vim
The rplugin.vim is empty (not considering comments) Thanks
Same situation here
i pressed ctrl+o, selected code explain, and got following error: