Problem
Exception not caught: [vim-hug-neovim-rpc] requires `:pythonx import [pynvim | neovim]` command to work
Every time I update vim via brew upgrade, the following problem easily occurs. (It should be related to updating Python).
It's the same whether running :pythonx import pynvim or :pythonx import neovim.
It took a long time to find the solution:
Solution:
Referencing Error Every time I load in vim8 (not neovim), you can see the following solution:
brew link --overwrite python@3.8 --forcepip3 install pynvim
You can also solve it by:
echo 'export PATH="/usr/local/opt/python@3.8/bin:$PATH"' >> ~/.zshrc
Top comments (0)