Giter Site home page Giter Site logo

Comments (9)

bfredl avatar bfredl commented on August 30, 2024 2

@justmytwospence Have you tried :UpdateRemotePlugins and restart nvim? If it doesn't help, what is the contents of .nvim/.nvimrc-rplugin~ ?

from nvim-ipy.

justmytwospence avatar justmytwospence commented on August 30, 2024 1

I can run the script itself (ie, python .vim/plugins/nvim-ipy/rplugin/python/nvim_ipy.py), but I still get this error in neovim.

from nvim-ipy.

rsdenijs avatar rsdenijs commented on August 30, 2024 1

@bfredl. UpdateRemotePlugins solved it for me.

from nvim-ipy.

bfredl avatar bfredl commented on August 30, 2024

Are both neovim and its python-client relatively recent master versions? If you run :UpdateRemotePlugins and then restart neovim does it help?

from nvim-ipy.

dpavlic avatar dpavlic commented on August 30, 2024

It seems this is not a problem with the plugin:

Error detected while processing function <SNR>62_UpdateRemotePlugins..<SNR>62_RegistrationCommands..remote#host#Require..<SNR>62_RequirePythonHost:
line   66:
E605: Exception not caught: Failed to load python host. Try upgrading the Neovim python module with 'pip install --upgrade neovim' or see ':help nvim-python'.
Error detected while processing function <SNR>62_UpdateRemotePlugins..<SNR>62_RegistrationCommands..remote#host#Require:
line    6:
E171: Missing :endif
Error detected while processing function <SNR>62_UpdateRemotePlugins:
line    5:
E171: Missing :endif

What's strange is that the python-client is the latest version... but it's not being loaded for some reason.

from nvim-ipy.

bfredl avatar bfredl commented on August 30, 2024

Unfortunately, that message is a bit misleading: the host could fail to load, because there was an error with the plugin. If you just source the python file, ie

python2 rplugin/python/nvim_ipy.py
from the root of this repo, do you get any error? (remove the 2 if python2 couldn't be found)
What version of IPython do you have?

from nvim-ipy.

dpavlic avatar dpavlic commented on August 30, 2024

AHA!

OK, issue is solved. The script requires pyzmq, while I had just a vanilla ipython installation.

Thanks for your help.

from nvim-ipy.

bfredl avatar bfredl commented on August 30, 2024

Happy to help :) Just post here, if there is any further problem, or any suggestions. (Something obviously missing is that I haven't written almost any documentation so far)

from nvim-ipy.

dpavlic avatar dpavlic commented on August 30, 2024

I'm going to close the issue now, but I will let you know if I run into any trouble. I am using it right now with tears of joy :). I've migrated at least some of my Python development off to emacs/evil due to async painfulness, and even with neovim's 'alpha' state, it looks like it's time to migrate back.

from nvim-ipy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.