Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deoplete] function deoplete#enable[9]...es[11]..neovim_rpc#serveraddr, line 18 #143

Open
shahrooz97 opened this issue Oct 16, 2021 · 3 comments

Comments

@shahrooz97
Copy link

shahrooz97 commented Oct 16, 2021

[deoplete] function deoplete#enable[9]...es[11]..neovim_rpc#serveraddr, line 18
Error detected while processing function deoplete#enable[9]..deoplete#initialize
[1]..deoplete#init#initialize[10]..22_init_internal_variables[29]..neovim
rpc#serveraddr:
line 18:
E605: Exception not caught: [vim-hug-neovim-rpc] requires one of :pythonx impor t [pynvim|neovim] command to work
Press ENTER or type command to continue
Error detected while processing function deoplete#enable:
line 9:
E171: Missing :endif
Press ENTER or type command to continue

hi i'm using your config but each time i open the app i'm getting this

i just need the theme that you used and the autocompletetion for python thats all

@fisadev
Copy link
Owner

fisadev commented Oct 19, 2021

Hi! That sounds like one of these possibilities:

  • Your vim doesn't have python support (disregard that if you are using neovim). Does this work in your editor?: :pythonx print("hello")
  • You don't have the dependencies installed. Have you installed the dependencies with pip as shown in vim.fisadev.com, under "Install for Vim"/"Install for NeoVim"?
  • You installed the dependencies, but you're running vim/neovim under a different environment which doesn't have them. For instance, you installed the pip dependencies at system level but you are launching the editor from inside a virtualenv. Or vice versa. In that case: you need the dependencies installed in the environment you are launching your editor from.

@eduzen
Copy link

eduzen commented Sep 6, 2023

I have the same issue when I open vim. I have it for a looong time, but I got used to it. How can I debug which python is your configuration trying to use. I have those dependencies installed with the python version globally configured with pyenv. And maybe this is the issue?

@eduzen
Copy link

eduzen commented Sep 6, 2023

I have the same issue when I open vim. I have it for a looong time, but I got used to it. How can I debug which python is your configuration trying to use. I have those dependencies installed with the python version globally configured with pyenv. And maybe this is the issue?

Maybe it helps someone else. I fixed it. I'm using mac. And brew has its own python. So installed the python packages for that python and now vim works without those messages.

$(brew --prefix python)/libexec/bin/pip install -U pip pynvim flake8 pylint isort jedi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants