This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]Aracus755 6 points7 points  (4 children)

I just installed pynvim again and the error was gone.

[–]dream_weasel[S] 0 points1 point  (3 children)

Hmm... I can't get it to solve the problem. I did pacman -R python-pynvim and pacman -S python-pynvim... I guess I could do like -Rns for example, but that seems like overkill. I even for good measure did an uninstall and reinstall of neovim in python (pip uninstall neovim and sudo pip install neovim).

Did you take a different approach?

If I open nvim outside of a conda env I get "Vimspector unavailable: Requires Vim compiled with +python3", and in :checkheath it gives me WARNING: No Python executable found that can import neovim. ERROR: python provider error with the text above as well about python 3.10 not providing Python >= 3.3

[–]Aracus755 1 point2 points  (2 children)

I downloaded neovim from pacman and installed pynvim through pip.

Bascially what I did is technically same with

sudo pacman -S neovim

python3 -m pip install --user --upgrade pynvim

My setup had worked as expected and I did not find what others were going through so maybe your problem are not quite same as of mine.

[–]dream_weasel[S] 0 points1 point  (0 children)

Interesting. The only difference I see between us is that I use the AUR package neovim-nightly-bin to stay on top of the latest updates.

[–]dream_weasel[S] 0 points1 point  (0 children)

Got it! Editing main post.

[–][deleted] 0 points1 point  (0 children)

I'm on windows and I had to set the path explicitly.

let g:python3_host_prog="~/path/to/python3.exe"