luk400 / vim-jukit

Jupyter-Notebook inspired Neovim/Vim Plugin
MIT License
602 stars 23 forks source link

:echo has('python3') returned 0 #106

Open bumasello opened 11 months ago

bumasello commented 11 months ago

Can someone help? it keeps saying: python3 support missing, and i dont know how to solve

MattsonCam commented 10 months ago

I can't remember exactly how I fixed this, but I think I had to install pynvim, ipython, and notebook with pip. You may also be able to use conda to install these packages as well.

leonardoprg commented 9 months ago

fixed running pip install pynvim

Beloin commented 7 months ago

This into any Lua configuration you have


local enable_providers = {"python3_provider", "node_provider"}

for _, plugin in pairs(enable_providers) do
    vim.g["loaded_" .. plugin] = nil
    vim.cmd("runtime " .. plugin)
end

And then, make sure you have pynvim installed in your current python environment. I usually likes to open a terminal with an already sourcer'ed venv, like following:

$ source ./venv/bin/activate
$ nvim ...

Of course is necessary download all necessary packages: ipython, pynvim and matplotlib