Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bumasello opened this issue Dec 20, 2023 · 3 comments
Open

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

bumasello opened this issue Dec 20, 2023 · 3 comments

Comments

@bumasello
Copy link

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

@MattsonCam
Copy link

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
Copy link

fixed running pip install pynvim

@Beloin
Copy link

Beloin commented Apr 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants