Closed SpaceVimBot closed 6 years ago
I just test python import neovim
and python3 import neovim
in neovim or in terminal, both of them work well
wsdjeg@archlinux:~$ python
Python 3.6.3 (default, Oct 24 2017, 14:48:20)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import neovim
>>>
wsdjeg@archlinux:~$ python2
Python 2.7.14 (default, Sep 20 2017, 01:25:59)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import neovim
>>>
in my pc, has('pythonx') return 1, and pyxversion=3 bydefault, then I can not use python2 remote plugin, BTW, if I want to use python2 remote plugin and python3 remote plugin at the same time, how should I do?
I don't think pyxversion=3
stops you from using python2 remote plugin. Remote plugins are running as standalone processes. Vim's python binding is only used for vim-hug-neovim-rpc itself. They are different things.
E605: Exception not caught: [vim-hug-neovim-rpc] requires `:pythonx import neovim` command to work
As the message says, you need to test :pythonx import neovim
on vim8, not on neovim.
in neovim has('python') and has('python3') both return 1, and I install the client via
pip install --user neovim
andpip3 install --user neovim
.this plugin use
pythonx
by default, I think it will cause some issue:in my pc,
has('pythonx')
return 1, and pyxversion=3 bydefault, then I can not use python2 remote plugin, BTW, if I want to use python2 remote plugin and python3 remote plugin at the same time, how should I do?I will try to fix this issue, and send some PRs. test will be done in https://github.com/SpaceVim/SpaceVim/pull/994