Comments (9)
@justmytwospence Have you tried :UpdateRemotePlugins
and restart nvim? If it doesn't help, what is the contents of .nvim/.nvimrc-rplugin~
?
from nvim-ipy.
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.
@bfredl. UpdateRemotePlugins solved it for me.
from nvim-ipy.
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.
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.
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.
AHA!
OK, issue is solved. The script requires pyzmq, while I had just a vanilla ipython installation.
Thanks for your help.
from nvim-ipy.
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.
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)
- Plotting error. Matplotlib using non-gui backend HOT 1
- What do you use for output? HOT 1
- E117: Unknown function: IPyConnect HOT 1
- is display_svg possible? HOT 1
- Mapping happens anyway, causing collisions while mapping to F5 HOT 3
- autoloading functions HOT 3
- Cursor jumps to the bottom line HOT 3
- no request handler registered after installing with vim-plug HOT 2
- Better interface to IPyRun
- IPython --existing doesn't forget previous invocation
- Integration with vim-airline
- run all cells up to the current cell?
- CWD for jupyter is not correctly set in the kernel?
- plugin not working with python 3 kernel - problem with jupyter-client and channels HOT 2
- E117: Unknown function: IPyConnect HOT 2
- How to connect to virtualenv? HOT 1
- Nothing happend after connect to jupyter. HOT 1
- Cannot run code after :IPython command.
- jupyter_core has changed
- How to make nvim-ipy send lines to Qt Console?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-ipy.