Closed devilyouwei closed 2 years ago
This started happening for me as well today with neovim nightly v0.5.0-571-g721f69c4a. It suddenly claims "nvr executable is not found, run pip install neovim-remote
to install", but all attempts to install it run into this bug.
This started happening for me as well today with neovim nightly v0.5.0-571-g721f69c4a. It suddenly claims "nvr executable is not found, run
pip install neovim-remote
to install", but all attempts to install it run into this bug.
Same, I am using Neovim(latest version) too, I don't know how to install neovim-remote
Now that I look closer I see that "neovim-remote" is written in Python 3, but the command we're supposed to use to install it is "pip install neovim-remote" which is Python 2! The error message says that "'encoding' is an invalid keyword argument for this function" which is true for Python 2 but false for Python 3.
If I do "pip3 install neovim-remote" I get "Requirement already satisfied". Fine. But Neovim complains that "nvr executable is not found, run pip install neovim-remote
to install". So what is actually happening here? Why is Python 2 in any way part of this? Python 2 is end-of-life. (I've never used Python 2 and never will.)
Update: It seems to me that this is a problem in the Neovim plugin floaterm. When doing "checkhealth" that plugin reports "nvr executable is not found, run pip install neovim-remote
to install", but everything seems to work at it should since "neovim-remote" is actually there but installed with "pip3" and Python 3 as it should be.
I found this issue too, I installed pip3 nvr, but checkhealth can't find this plugin. it still shows no nvr....I think I may report this to floatterm, before I report, I will update the vim-plugins first to make sure the new floaterm has this issue
The problem went away when I added the location of nvr to my PATH.
In "/etc/environment" I added "/home/MYUSERNAME/.local/bin" and restarted.
nvr is supposed to install into "/usr/local/bin/" but somehow it didn't. So "checkhealth" couldn't find it.
And the correct command to install it is "pip3 install neovim-remote", not "pip ..." (unless you've changed pip to point to pip3).
I use 'pip install neovim-remote' on ubuntu 20.04 to install this support
It shows :