lkhphuc / jupyter-kernel.nvim

Get (IPython) Jupyter kernel completion suggestions and object inspection into Neovim.
MIT License
75 stars 5 forks source link

Unknown function jupyter kernel #8

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi

When I try to use JupyterAttach, I get the following error. I am on neovim nightly using windows 11.

Error executing Lua callback: ...l/nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:39: Vim:Error executing Lua callback: Vim:E117: Unknown function: JupyterKernels
stack traceback::q

    [C]: in function 'JupyterKernels'
    ...ata/lazy/jupyter-kernel.nvim/lua/jupyter_kernel/init.lua:14: in function <...ata/lazy/jupyter-kernel.nvim/lua/jupyter_kernel/init.lua:9>
    [C]: in function 'cmd'
    ...l/nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:39: in function <...l/nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>
stack traceback:
    [C]: in function 'cmd'
    ...l/nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:39: in function <...l/nvim-data/lazy/lazy.nvim/lua/lazy/core/handler/cmd.lua:16>

This is the checkhealth message

Python 3 provider (optional) ~
- `g:python3_host_prog` is not set.  Searching for python in the environment.
- Multiple python executables found.  Set `g:python3_host_prog` to avoid surprises.
- Executable: C:\Users\haari\AppData\Local\Programs\Python\Python310\python.EXE
- Other python executable: C:/Users/haari/AppData/Local/Programs/Python/Python310/python
- Python version: 3.10.7
- pynvim version: 0.4.3
- OK Latest pynvim is installed.

Python virtualenv ~
- OK no $VIRTUAL_ENV
ghost commented 1 year ago

Fixed. Did not paste the build command for lazy.