jupyter-nvim
jupyter-nvim copied to clipboard
Can't seem to reproduce ipynb shown in README
Hello!
First: to say I am excited for this plugin would be a significant understatement. I have been looking for something like this and when I saw your post on Reddit I was thrilled!
Second... I have installed the plugin, and even double-checked it was loaded (via PackerLoad jupyter-nvim
) but cannot seem to reproduce the state you showcase in the README. Any ideas on how I could do that? I'd love to contribute to this and help in any way I can I just need to get it working as is hahah.
Thanks in advance and really great work so far!
Hum, this is very strange, allow me to test using a fresh nvim config.
I am indeed experiencing the same issue. @rkabrick Please run :UpdateRemotePlugins
and let me know the output as well as if it fixes your issue on restart.
So the output is just "Generated manifest... ~/.local/share/nvim/rplugin.vim". And when I check what's in the file it's blank.

It follows that nothing is fixed on restart. Also worth noting neither markdown syntax nor python is detected by nvim when in a ipynb file.
Hum, perhaps it's a dependency problem? Did you try installing nbformat: https://pypi.org/project/nbformat/ ? And running UpdateRemotePlugins
On Sun, Jun 13, 2021 at 8:14 PM Ryan Kabrick @.***> wrote:
So the output is just "Generated manifest... ~/.local/share/nvim/rplugin.vim". And when I check what's in the file it's blank.
[image: CleanShot 2021-06-13 at 12 13 45] https://user-images.githubusercontent.com/31963805/121814772-d21cad00-cc40-11eb-8f86-824398c21eb1.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahmedkhalf/jupyter-nvim/issues/1#issuecomment-860235705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXZFRFJOKIB665AZLMJ3IDTSTKO5ANCNFSM46TK4WWA .
Yup, still no luck :/
Wow this is extremely weird, I tried downloading the plugin on another machine but everything was smooth. Okay final try here:
run :checkhealth
and tell me if you have any warnings and errors regarding the python3 provider and try to fix them if possible.
After there are no problems, restart, make sure the plugin is installed and loaded and then :UpdateRemotePlugins, wait a bit, then restart again and let me know if the plugin works.
Also you are running nvim 5.0 right?
EDIT: also try using :packadd
instead of the packer load, perhaps this will load it?
Long time no see! hahaha.. I apologize for the huge gap in my response... work has been crazy.
In any event, I believe I am much closer to getting this working. The error I have now is that when I open an ipynb file, I get the JSON code with no rendering of the Jupyter nvim UI. Additionally, if I open a blank ipynb file, I get no python syntax, and the filetype is picked up as json
Did you call updateremoteplugins? They were some additions since last update, so some things changed.
On Wed, Jul 21, 2021, 9:42 PM Ryan Kabrick, @.***> wrote:
Long time no see! hahaha.. I apologize for the huge gap in my response... work has been crazy.
In any event, I believe I am much closer to getting this working. The error I have now is that when I open an ipynb file, I get the JSON code with no rendering of the Jupyter nvim UI. Additionally, if I open a blank ipynb file, I get no python syntax, and the filetype is picked up as json
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ahmedkhalf/jupyter-nvim/issues/1#issuecomment-884370506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXZFRCPUG7TIC7FGBTFVWTTY4BGPANCNFSM46TK4WWA .
Alright so I'm 99% sure it was an issue between virtualenv tools (pyenv & pipenv)... Now I have the Run Code and Delete Cell (HAZAHH)
But... everything is monochromatic (no python highlighting) and I get an issue (end of file expected)